n = 1 ∑ 4 0 3 5 n 2 0 1 7
Find the remainder when the expression above is divided by 2017.
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.
Wow, that was insanely fast! Wonderful solution too ^^
Log in to reply
Thanks! @Otto Bretscher sir, why did you delete your solution?
Yes, this is my same approach :)
Same way ! Ya this was very fast .
Ya even i did the same
Modular arithmetic rules:
a 1 ≡ b 1 ( m o d n ) and a 2 ≡ b 2 ( m o d n ) then 1. a 1 + a 2 ≡ b 1 + b 2 ( m o d n ) and 2. a 1 a 2 ≡ b 1 b 2 ( m o d n )
Now note that a 2 0 1 7 + ( 4 0 3 4 − a ) 2 0 1 7 ≡ 0 ( m o d 2 0 1 7 ) (when a is a positive natural number less than 2017). To see this take a ≡ b ( m o d 2 0 1 7 ) and by 2. we have a 2 0 1 7 ≡ b 2 0 1 7 ( m o d 2 0 1 7 ) now ( 4 0 3 4 − a ) ≡ − b ( m o d 2 0 1 7 ) as is readily seen by noting that 2017 divides 4034 and again by 2. we get that ( 4 0 3 4 − a ) 2 0 1 7 ≡ − b 2 0 1 7 ( m o d 2 0 1 7 ) and by 1. the result follows. Now by pairing the summands as described above we easily see that [and the middle term 2 0 1 7 2 0 1 7 is left alone for which (mod 2017) is clearly zero] n = 1 ∑ 4 0 3 4 n 2 0 1 7 ≡ 0 ( m o d 2 0 1 7 ) and as is easily seen by applying 2. 4 0 3 5 2 0 1 7 ≡ 1 ( m o d 2 0 1 7 ) so it follows that n = 1 ∑ 4 0 3 5 n 2 0 1 7 ≡ 1 ( m o d 2 0 1 7 ) And as the name suggests this can be done mentally with little focus :). I would love to see alternative solutions!
Problem Loading...
Note Loading...
Set Loading...
ϕ ( 2 0 1 7 ) = 2 0 1 6 where ϕ is the Euler's Totient function.
a ϕ ( n ) + 1 ≡ a ( m o d n ) S = k = 1 ∑ 4 0 3 5 k 2 0 1 7 ≡ k = 1 ∑ 4 0 3 5 k ≡ 2 4 0 3 5 ⋅ 4 0 3 6 ≡ 4 0 3 5 ⋅ 2 0 1 8 ≡ 1 ( m o d 2 0 1 7 )