Happy new year, 2017!

Find the smallest positive integer nn such that 1n+2n++2016n1^n+2^n+\cdots+2016^n is not divisible by 2017.


Bonus: Generalize this problem.

×

Problem Loading...

Note Loading...

Set Loading...