The probability that a given positive integer is a factor of for some positive integer is equal to where and are positive coprime integers. Find
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
Let 1 0 n − 1 ≡ 0 ( m o d x ) . This is equivalent to 1 0 n ≡ 1 ( m o d x ) .
However, note that by Euler's Theorem, 1 0 ϕ ( x ) ≡ 1 ( m o d x ) as long as gcd ( x , 1 0 ) = 1 . Since ϕ ( x ) clearly exists for all x , we see that there exists an n as long as gcd ( x , 1 0 ) = 1 .
Now we must prove that when gcd ( x , 1 0 ) = 1 , then there does not exist an n . The statement gcd ( x , 1 0 ) = 1 is equivalent to n ≡ 0 ( m o d 2 or 5 ) .
Claim: when x ≡ 0 ( m o d 2 or 5 ) , then there does not exist an n .
Proof: If x ≡ 0 ( m o d 2 ) , then x is even. But 1 0 n − 1 is odd, so there cannot exist an n .
If x ≡ 0 ( m o d 5 ) , then 1 0 n − 1 ≡ 0 ( m o d 5 ) . But 1 0 n − 1 ≡ 0 n − 1 ≡ 4 ( m o d 5 ) , so there does not exist any n .
We have proved that for all x not a multiple of 2 and 5 , there exists an n . Thus the probability is 1 0 4 = 5 2 and our answer is 2 + 5 = 7 .