Euler is Everywhere! #1

Let A A be the smallest positive integer such that 144 1 1441 A ( m o d 2015 ) 1441^{1441} \equiv -A \pmod{2015} .

Let B B be the number of positive integer values of n n such that n 2014 n \leq 2014 and the remainder when n 936 n^{936} is divided by 2014 2014 is not 1. 1.

Let C = 1 C = 1 if 12345678 9 6000 1 ( m o d 2013 ) , 123456789^{6000} \equiv 1 \pmod{2013}, and C = 2 C = 2 if not.

Evaluate A C B \left | AC - B \right | .


The answer is 70.

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.

1 solution

Discussions for this problem are now closed

Steven Yuan
Dec 20, 2014

For this problem, we use the fact that a ϕ ( N ) 1 ( m o d N ) a^{\phi (N)} \equiv 1 \pmod{N} iff gcd ( a , N ) = 1 , \gcd(a, N) = 1, where ϕ ( N ) \phi (N) is Euler's totient function. (This is Euler's generalization of Fermat's little theorem.)

For the first part of the problem, ϕ ( 2015 ) = 1440 , \phi (2015) = 1440, and since 1441 1441 and 2015 2015 are relatively prime, 144 1 1441 1441 ( m o d 2015 ) 574 ( m o d 2015 ) . 1441^{1441} \equiv 1441 \pmod{2015} \equiv -574 \pmod{2015}. Thus, A = 574. A = 574.

For the second part of the problem, we use the fact that n ϕ ( 2014 ) ≢ 1 ( m o d 2014 ) n^{\phi (2014)} \not\equiv 1 \pmod{2014} if n n and 2014 2014 are not relatively prime. Since ϕ ( 2014 ) = 936 , \phi (2014) = 936, and the totient function is the number of positive integers less than or equal to 2014 2014 that are relatively prime to 2014 , 2014, the number of values of n n that do not satisfy the equation is just 2014 936 = 1078 = B . 2014 - 936 = 1078 = B.

For the third part of the problem, since 123456789 123456789 and 2013 2013 share a common factor of 3 , 3, even though ϕ ( 2013 ) = 1200 \phi (2013) = 1200 and a 6000 a 1200 ( m o d 2013 ) , a^{6000} \equiv a^{1200} \pmod{2013}, the congruence is not satisfied, so C = 2. C = 2.

Finally, A C B = 574 ( 2 ) 1078 = 1148 1078 = 70 . \left | AC - B \right | = \left | 574(2) - 1078 \right | = \left | 1148 - 1078 \right | = \boxed{70}.

Overrated!

Kartik Sharma - 6 years, 5 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...