This year is odd

What is the remainder when 1 2017 + 2 2017 + 3 2017 + + 201 6 2017 1^{2017}+2^{2017}+3^{2017}+\cdots+2016^{2017} is divided by 2017?

0 8 2 1

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

Tapas Mazumdar
May 16, 2017

Relevant wiki: Euler's Theorem

We find that 2017 2017 is a prime number. Thus we can say that gcd ( a , 2017 ) = 1 \text{gcd } (a,2017) = 1 where a < 2017 a < 2017 is a positive integer. Thus, we can apply Euler's theorem as

a 2017 ( m o d 2017 ) a 2017 ( m o d ϕ ( 2017 ) ) ( m o d 2017 ) a 2017 ( m o d 2016 ) ( m o d 2017 ) a ( m o d 2017 ) a^{2017} \pmod{2017} \equiv a^{2017 \pmod{\phi (2017)}} \pmod{2017} \equiv a^{2017 \pmod{2016}} \pmod{2017} \equiv a \pmod{2017}

Thus

a = 1 2016 a 2017 ( m o d 2017 ) a = 1 2016 a ( m o d 2017 ) = 1008 × 2017 ( m o d 2017 ) 0 ( m o d 2017 ) \begin{aligned} \displaystyle \sum_{a=1}^{2016} a^{2017} \pmod{2017} &\equiv \sum_{a=1}^{2016} a \pmod{2017} \\ & = 1008 \times 2017 \pmod{2017} \\ & \equiv \boxed{0} \pmod{2017} \end{aligned}

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...