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

Home > Numbers
Primes vs ones (Posted on 2014-03-27) Difficulty: 3 of 5
Prove - or find a counterexample:

All primes p greater than 5 divide a number
whose decimal representation consists of (p-1) ones.

No Solution Yet Submitted by Ady TZIDON    
No Rating

Comments: ( Back to comment list | You must be logged in to post comments.)
Proof | Comment 1 of 2
(in this proof treat the equal sign as the congruent sign)
a number consisting of (p-1) 1's is given by
(10^(p-1)-1)/9
say that this is congruent to r mod p
now since p is prime and p>5 then we have
GCD(9,p)=1
thus 9 has a multiplicative inverse mod p, call this inverse i
thus in the equation we can get
(10^(p-1)-1)/9 = r mod p
i*(10^(p-1)-1)/9=r*i mod p
10^(p-1)-1=r*i mod p
now from eulers formula since GCD(10,p)=1 we have
10^(p-1) = 0 mod p thus
r*i = 0 mod p
since i is not congruent to 0 mod p then we have
r = 0 mod p

thus p divides (10^(p-1)-1)/9 for all primes p>5



  Posted by Daniel on 2014-03-28 01:07:56
Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
Forums (0)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (0)
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