Prove that if $k,a,p$ are fixed positive integers, $n$ is a positive integer, $p$ is prime, $gcd(a,p)=1$, then the set {$na^{n}+1$ $mod$ $p^{k}$} is a complete residue system modulo $p^{k}$.
I found this as a part of a question on a high school olympiad mock test. The original problem is:
Prove that for any positive integers $m,a$, there is an infinite amount of positive integers $n$ such that $m|d(na^{n}+1)$, where $d(x)$ denotes the number of positive integer factors of $x$. (not original wording)
If the complete residue system is proved, then for any $k$, there exists an infinite amount of $n$ such that $p^{k}|na^{n}+1$, in which for every $p^{k}(p-1)$ integer values of n, there are ${p-1}$ that satisfy $p^{k}|na^{n}+1$. Similarly, for each $p^{k+1}(p-1)$ integer values of n, there are $p-1$ that satisfy $p^{k+1}|na^{n}+1$. Notice that there are less values of n that satisfy $p^{k+1}|na^{n}+1$. Thus, there is an infinite amount of integers $n$ that satisfy $p^k||na^n+1$. Therefore, $(k+1)|d(na^n+1)$. let $k=m-1$, and we have arrived at the desired result.