What is the remainder when 1 5 + 2 5 + 3 5 + ⋯ + 1 0 0 5 is divided by 4?
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.
Sir, help me solve this problem!! https://brilliant.org/discussions/thread/altitude-and-sides-of-a-triangle/?ref_id=1257757
We can also use the fact that a m + b m is divisible by a + b (if m is odd). Thus grouping the numbers as follows: 1 0 0 5 + ( 1 5 + 9 9 5 ) + ( 2 5 + 9 8 5 ) + ⋯ + 5 0 5 would give us the answer.
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 . The sum modulo 4 is ( 1 5 + 2 5 + 3 5 + 4 5 ) + ( 5 5 + 6 5 + 7 5 + 8 5 ) + ⋯ ≡ 2 5 ⋅ ( 1 + 0 + ( − 1 ) + 0 ) ≡ 2 5 ⋅ 0 = 0 .
Great solution sir.
Problem Loading...
Note Loading...
Set Loading...
Relevant wiki: Euler's Theorem
Let S = 1 5 + 2 5 + 3 5 + . . . + 1 0 0 5 = n = 1 ∑ 1 0 0 n 5 . We note that even n 5 is divisible by 4. Therefore, we have:
S ≡ ( 1 5 + 3 5 + 5 5 + . . . + 9 9 5 ) (mod 4)
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 − 2 1 ) = 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 + . . . + 9 9 ) (mod 4) ≡ 2 5 0 ( 1 + 9 9 ) (mod 4) ≡ 0 (mod 4)