# A number theory problem by Kushal Bose

Find the number of all positive integers $$n \leq 2017$$ such that

$\large 7 \mid n^2+n+1$

Note: Avoid the use of computer programming. Otherwise you will not get the fun.

×