It is not as easy as you had expected it to be

What is the remainder when 1 5 + 2 5 + 3 5 + + 10 0 5 1^5+2^5+3^5+\cdots +100^5 is divided by 4?


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.

2 solutions

Chew-Seong Cheong
Aug 30, 2016

Relevant wiki: Euler's Theorem

Let S = 1 5 + 2 5 + 3 5 + . . . + 10 0 5 = n = 1 100 n 5 S = 1^5 + 2^5 + 3^5 + ... + 100^5 = \displaystyle \sum_{n=1}^{100} n^5 . We note that even n 5 n^5 is divisible by 4. Therefore, we have:

S ( 1 5 + 3 5 + 5 5 + . . . + 9 9 5 ) (mod 4) \begin{aligned} S & \equiv \left(1^5 + 3^5 + 5^5 + ... + 99^5 \right) \text{ (mod 4)} \end{aligned}

Since all odd numbers are coprime to 4, we can apply the Euler's theorem. Since the Euler's totient function of 4 is ϕ ( 4 ) = 4 ( 1 1 2 ) = 2 \phi(4) = 4\left(1-\dfrac 12\right) = 2 . Then we have:

S ( 1 2 2 + 1 + 3 2 2 + 1 + 5 2 2 + 1 + . . . + 9 9 2 2 + 1 ) (mod 4) ( 1 + 3 + 5 + . . . + 99 ) (mod 4) 50 ( 1 + 99 ) 2 (mod 4) 0 (mod 4) \begin{aligned} S & \equiv \left(1^{2\cdot 2+1} + 3^{2\cdot 2+1} + 5^{2\cdot 2+1} + ... + 99^{2\cdot 2+1} \right) \text{ (mod 4)} \\ & \equiv \left(1 + 3 + 5 + ... + 99 \right) \text{ (mod 4)} \\ & \equiv \frac {50(1+99)}2 \text{ (mod 4)} \\ & \equiv \boxed{0} \text{ (mod 4)} \end{aligned}

Sir, help me solve this problem!! https://brilliant.org/discussions/thread/altitude-and-sides-of-a-triangle/?ref_id=1257757

Puneet Pinku - 4 years, 9 months ago

We can also use the fact that a m + b m a^m+b^m is divisible by a + b a+b (if m is odd). Thus grouping the numbers as follows: 10 0 5 + ( 1 5 + 9 9 5 ) + ( 2 5 + 9 8 5 ) + + 5 0 5 100^5+(1^5+99^5)+(2^5+98^5)+\cdots +50^5 would give us the answer.

Sravanth C. - 4 years, 9 months ago
Arjen Vreugdenhil
Nov 16, 2017

It actually is as easy as I thought it to be. Consider fifth powers modulo 4: 0 5 0 ; 1 5 1 ; 2 5 4 2 3 0 ; 3 5 ( 1 ) 5 1. 0^5 \equiv 0\ \ ;\ \ \ 1^5 \equiv 1\ \ \ ;\ \ 2^5 \equiv 4\cdot 2^3 \equiv 0\ \ \ ;\ \ 3^5 \equiv (-1)^5 \equiv -1. The sum modulo 4 is ( 1 5 + 2 5 + 3 5 + 4 5 ) + ( 5 5 + 6 5 + 7 5 + 8 5 ) + 25 ( 1 + 0 + ( 1 ) + 0 ) 25 0 = 0 . (1^5 + 2^5 + 3^5 + 4^5) + (5^5 + 6^5 + 7^5 + 8^5) + \cdots \equiv 25\cdot(1 + 0 + (-1) + 0) \equiv 25\cdot 0 = \boxed{0}.

Great solution sir.

Puneet Pinku - 3 years, 5 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...