All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars    
perplexus dot info

Home > Just Math
Divisibility by 7 (Posted on 2005-05-22) Difficulty: 2 of 5
(2222^5555 + 5555^2222) is or isn't divisible by 7 ?

Just pencil and paper.

See The Solution Submitted by pcbouhid    
Rating: 2.0000 (3 votes)

Comments: ( Back to comment list | You must be logged in to post comments.)
Solution Divisible by 7 | Comment 1 of 8

2222^5555 + 5555^2222 = 3^5555 + 4^2222 (mod 7).

There are only 7 residue classes modulo 7. Therefore, the series of powers of a given number (modulo 7) is bound to be cyclic (of period 6).

For example, 3^2 = 2 (mod 7), 3^3 = 6 (mod 7), 3^4 = 4 (mod 7), 3^5 = 5 (mod 7), 3^6 = 1 (mod 7), 3^7 = 3 (mod 7), and so on: 3,2,6,4,5,1,3,...

Note that 5555 = 5 (mod 6). Therefore, 2222^5555 = 3^5 (mod 7) = 5(mod 7).

Similarly, 5555^2222 = 4^2222 (mod 7). Powers of 4 modulo 7 form a cycle of period 3: 4,2,1,4,... Hence, 4^2222 (mod 7) = 4^{2222( mod 3)}(mod 7) = 4^2 (mod 7) = 2 (mod 7).

Adding up 5 + 2 gives a number divisible by 7. So is 2222^5555 + 5555^2222.

  Posted by Ravi Raja on 2005-05-22 16:40:36
Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
Forums (1)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (6)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

Chatterbox:
Copyright © 2002 - 2024 by Animus Pactum Consulting. All rights reserved. Privacy Information