# New Year Fun

Suppose $$N$$ is a positive integer such that $$N^2 =2017q + r$$, where $$q$$ is a positive integer and $$0 \leq r < 2017$$.

Find the number of distinct values of $$r$$.

×