Let be the smallest positive integer such that .
Let be the number of positive integer values of such that and the remainder when is divided by is not
Let if and if not.
Evaluate .
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.
For this problem, we use the fact that a ϕ ( N ) ≡ 1 ( m o d N ) iff g cd ( a , N ) = 1 , where ϕ ( N ) is Euler's totient function. (This is Euler's generalization of Fermat's little theorem.)
For the first part of the problem, ϕ ( 2 0 1 5 ) = 1 4 4 0 , and since 1 4 4 1 and 2 0 1 5 are relatively prime, 1 4 4 1 1 4 4 1 ≡ 1 4 4 1 ( m o d 2 0 1 5 ) ≡ − 5 7 4 ( m o d 2 0 1 5 ) . Thus, A = 5 7 4 .
For the second part of the problem, we use the fact that n ϕ ( 2 0 1 4 ) ≡ 1 ( m o d 2 0 1 4 ) if n and 2 0 1 4 are not relatively prime. Since ϕ ( 2 0 1 4 ) = 9 3 6 , and the totient function is the number of positive integers less than or equal to 2 0 1 4 that are relatively prime to 2 0 1 4 , the number of values of n that do not satisfy the equation is just 2 0 1 4 − 9 3 6 = 1 0 7 8 = B .
For the third part of the problem, since 1 2 3 4 5 6 7 8 9 and 2 0 1 3 share a common factor of 3 , even though ϕ ( 2 0 1 3 ) = 1 2 0 0 and a 6 0 0 0 ≡ a 1 2 0 0 ( m o d 2 0 1 3 ) , the congruence is not satisfied, so C = 2 .
Finally, ∣ A C − B ∣ = ∣ 5 7 4 ( 2 ) − 1 0 7 8 ∣ = ∣ 1 1 4 8 − 1 0 7 8 ∣ = 7 0 .