Find the number of positive integers $n$ not greater than 2017 such that $n$ divides $20^n + 17k$ for some positive integer $k$.

Let's think step by step and output the final answer within \boxed{}.
user