Find the smallest positive integer n such that 1 n + 2 n + ⋯ + 2 0 1 6 n is not divisible by 2017.
Bonus:
Generalize this problem.
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.
Faulhaber showed that if a sum for an odd power is given by
k = 1 ∑ n k 2 m + 1 = c 1 a 2 + c 2 a 3 + . . . . . . . . . + c m a m + 1
and for even power,
k = 1 ∑ n k 2 m = 2 m + 1 ( n + 2 1 ) ( 2 c 1 a + 3 c 2 a 2 + . . . . . . . . . + ( m + 1 ) c m a m )
where, a = 2 n × ( n + 1 )
we can see that it will be independent of ( n + 1 ) for even powers when 2 m = n
thus the power has to be 2016
Log in to reply
First of all, avoid double notation. When you say 2 m = n , do you really want the n to be the same as the n in the summation? Or are you just talking about "any even power"? I believe it's the latter, but right now it indicates the former.
Secondly, it is not clear to me why the answer will be independent of n + 1 . Since a is already a function of n + 1 , and the RHS is a polynomial in a (though we don't know the coefficients), it seems very likely that it will be a polynomial in n + 1 , especially if n + 1 is odd.
Thirdly, I believe you want it to be "dependent on n + 1 ", or that "it is a polynomial in n + 1 ", in order for us to conclude that n + 1 divides this value (as shown in the proof). If so, you have to be careful about why it fails for 2016, but works for 1 to 2015.
1 issue, you can guess this, I actually did.
Can we do it like this ??
2 0 1 7 is prime so from FLT a p − 1 ≡ 1 ( m o d p ) we get i = 1 ∑ 2 0 1 6 i 2 0 1 7 − 1 ≡ 2 0 1 6 ≡ − 1 ( m o d 2 0 1 7 ) .But I am unable to prove as to why 2016 must be smallest possible.
Problem Loading...
Note Loading...
Set Loading...
Relevant wiki : Primitive roots
We can prove the more general statement: With p is a odd prime, 1 k + 2 k + … + ( p − 1 ) k is divisible by p if and only if k is not divisible by p − 1 .
If p − 1 ∣ k , according to Fermat theorem, we have 1 k + 2 k + … + ( p − 1 ) k ≡ p − 1 ( m o d p ) .
If p − 1 ∤ k , there is a primitive root m mod p . Hence,
1 k + 2 k + … + ( p − 1 ) k ≡ m k + ( m 2 ) k + … + ( m p − 1 ) k ≡ m k ⋅ m k − 1 ( m k ) p − 1 − 1 ( m o d p ) .
Since m is a primitive root mod p and p − 1 ∤ k , p ∤ m k − 1 .
Combine with p ∣ ( m k ) p − 1 − 1 , we get 1 k + 2 k + … + ( p − 1 ) k ≡ 0 ( m o d p ) .
So the answer of this problem is 2 0 1 6 .