A Decade of Divisibility

Let N = 2017 × 2027. N = 2017 \times 2027. Find the remainder when 201 7 2026 + 202 7 2016 1 2017^{2026} + 2027^{2016} - 1 is divided by N . N.

Note: 2017 2017 and 2027 2027 are both prime numbers.


The answer is 0.

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

Steven Yuan
Jul 8, 2017

We shall prove that, if positive integers m , n m, n are relatively prime, then

m n m ϕ ( n ) + n ϕ ( m ) 1 , mn|m^{\phi(n)} + n^{\phi(m)} - 1,

where ϕ \phi represents Euler's totient function.

Taking the expression modulo m m and n n individually and applying Euler's Totient Theorem, we find that

m ϕ ( n ) + n ϕ ( m ) 1 n ϕ ( m ) 1 1 1 0 ( m o d m ) m^{\phi(n)} + n^{\phi(m)} - 1 \equiv n^{\phi(m)} - 1 \equiv 1 - 1 \equiv 0 \! \! \! \! \pmod{m}

and

m ϕ ( n ) + n ϕ ( m ) 1 m ϕ ( n ) 1 1 1 0 ( m o d n ) . m^{\phi(n)} + n^{\phi(m)} - 1 \equiv m^{\phi(n)} - 1 \equiv 1 - 1 \equiv 0 \! \! \! \! \pmod{n}.

Since m m and n n are relatively prime, we can apply the Chinese Remainder Theorem to conclude that m ϕ ( n ) + n ϕ ( m ) 1 0 ( m o d m n ) , m^{\phi(n)} + n^{\phi(m)} - 1 \equiv 0 \! \pmod{mn}, or m n m ϕ ( n ) + n ϕ ( m ) 1. mn|m^{\phi(n)} + n^{\phi(m)} - 1. \, \, \blacksquare

Now, we can apply this result to the problem. As 2017 2017 and 2027 2027 are prime, they are also relatively prime. Also, ϕ ( 2017 ) = 2016 \phi(2017) = 2016 and ϕ ( 2027 ) = 2026. \phi(2027) = 2026. Thus,

201 7 2026 + 202 7 2016 1 0 ( m o d N ) . 2017^{2026} + 2027^{2016} - 1 \equiv \boxed{0} \! \! \! \! \pmod{N}.

For this question, since m , n m,n are not just coprime, but are distinct primes, Fermat's Little Theorem is enough to give us the answer.

Mark Hennings - 3 years, 11 months ago

Log in to reply

Perhaps I should've chosen some non-prime numbers instead. Oh well, at least the generalization is cool!

Steven Yuan - 3 years, 11 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...