I encountered a problem in a book that was designed for IMO trainees. The problem had something to do with divisibility.
Prove that if n is a positive integer then 23n−1 is divisible by 7.
Can somebody give me a hint on this problem. I know that it can be done via the principle of mathematical induction, but I am looking for some other way (that is if there is some other way)
Answer
Hint: Note that 8≡1 (mod 7).
So,
23n=(23)n=8n≡… (mod 7)=… (mod 7)
Try to fill in the gaps!
Solution:
Note that 8≡1 (mod 7). This means that 8 leaves a remainder of 1 when divided by 7. Now assuming that you are aware of some basic modular arithmetic,
23n=(23)n=8n≡1n (mod 7)=1 (mod 7)
Now if 23n≡1 (mod 7) then it follows that,
23n−1=8n−1≡(1−1) (mod 7) ≡0 (mod 7)⟹23n−1≡0 (mod 7)
Or in other words, 23n−1 leaves no remainder when divided by 7 (i.e. 23n−1 is divisible by 7). As desired
No comments:
Post a Comment