Remainder of Dividing By 5

Calculate the remainder of dividing N = 1 2007 + 2 2007 + 3 2007 + 4 2007 + 5 2007 + 6 2007 + + 200 5 2007 + 200 6 2007 + 200 7 2007 N = 1^{2007}+2^{2007}+3^{2007}+4^{2007}+5^{2007}+6 ^{2007} + \cdots + 2005^{2007}+2006^{2007}+2007^{2007} By 5 5


The answer is 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.

5 solutions

Sunil Pradhan
Mar 30, 2014

1^2007 + 2^2007 + ... + 2007^2007

the unit digit is 1^3 + 2^3 + 3^3 + ... 2007^3

sum of cubes = [(2007 × 2008)/2]² = unit digit in this is 8² = 4

4 ÷ 5 remainder is 4

wrong procedure bro.......there are 401 numbers which are divisible by 5....so u cant take this cubic series upto 2007......it is equal to= 401(1^3 + 2^3 + 3^3+ 4^3)+ 1^3+2^3 as n=1,2,3,4(mod5), as (1^3 + 2^3 + 3^3+ 4^3)=100 and 1^3+2^3=9, so the required remainder =4

Subhajit Jana - 7 years, 1 month ago

sorry it is okk as it remains 0 always

Subhajit Jana - 7 years, 1 month ago
Dilbwag Singh
Apr 13, 2014

We know that x^n+y^n is divisible by x+y for all odd values of n. Here 1^2007+2^2007+3^2007+..........+2007^2007 , notice that 1^2007+2^2007+3^2007+4^2007 is divisible by 5 . And the next number in the series 5^2007 is already a multiple of 5. Similarly all the number till 2005^2007 will leave no remainder when divide by 5. Now we are left with 2006^2007+2007^2007, now 2006^2007 leaves remainder 1 when divided by 5 and 2007^2007 leaves remainder 3 when divided by 5.Therefore when N is divided by 5 the remainder is 3+1=4.

Its simple logic I first found the first terms of 1^2007 to 10^2007 then added it all up...This turns out to be 34 .A little deduction reveals that this pattern continues so 34 when divided by 5 leaves remainder 4 so 4 is the answer .... please comment on its logic

Swarnava Ghoshal
Feb 18, 2014

EVERY NO. CAN BE EXPRESSED AS (5n+1),(5n+2),(5n-2),(5n-1) or 5n so each and every term upto the 2005 th term if expanded cancels each other other out and becomes a multiple of 5 only the 2006 th and 2007th term remains........................(2006)^{2007}=(5 401+1)^{2007} = M5+1......................... (2007)^{2007}=(5 401+2)^{2007} = M5+3 [using modulo5]......................... so the remainder is 3+1=4

1^2007 = 1;// reminder 2^2007 = 3; 3^2007 = 2; 4^2007 = 4; 5^2007 = 0; (1+5)^2007 = 1; (2+5)^2007 = 3; (3+5)^2007 = 2; etc. for 5^2005, we got the reminder is 0; and for the 2006 & 2007's reminder it is = 1+3 = 4 .

How about this:

i = 1 2007 i 2007 i = 1 2007 i 3 = 200 7 2 ( 2008 ) 2 2 2 = ( 2007 ) 2 ( 1004 ) 2 ( 2 ) 2 ( 1 ) 2 4 ( m o d 5 ) \sum_{i=1}^{2007}i^{2007}\equiv\sum_{i=1}^{2007}i^3=\frac{2007^2(2008)^2}{2^2}=(2007)^2(1004)^2\equiv(2)^2(-1)^2\equiv\boxed4\pmod5

Just use FLT.

Cody Johnson - 7 years, 3 months ago

Log in to reply

beautiful technique ..

vamsi krishna - 7 years, 2 months ago

but u should mention when n is divisible by 5 it is equivalent to 0 and hence u can take any power of it........there is no use of FLT

Subhajit Jana - 7 years, 1 month ago

What theorem floor ??

Danang AchSa - 7 years, 2 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...