For an integer let denote the number of -tuples of integers with for each , such that . Compute the remainder when 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.
Here's a partial solution. If p = 7 3 (and more generally if p ≡ 1 mod 4 ), I get T k = p k − 1 + ( − 1 ) k + 1 p ⌊ ( k − 1 ) / 2 ⌋ , but I am not sure how to prove it elegantly. Anyway, this shows that T 2 m − 1 + T 2 m = p 2 m − 2 + p 2 m − 1 , so the sum is ( T 1 + T 2 ) + ( T 3 + T 4 ) + ⋯ + ( T 2 0 1 5 + T 2 0 1 6 ) + T 2 0 1 7 = ( p 0 + p 1 ) + ( p 2 + p 3 ) + ⋯ + ( p 2 0 1 4 + p 2 0 1 5 ) + p 2 0 1 6 + p 1 0 0 8 = p − 1 p 2 0 1 7 − 1 + p 1 0 0 8 Now mod 2017 the first term is just 1 and the second term is ( 2 0 1 7 p ) (the Legendre symbol ). A quick computation shows that this symbol is 1 , so the answer is 1 + 1 = 2 .
Anyone want to fill in the gap at the beginning?