Let $a>1$ be a positive integer and $f\in \mathbb{Z}[x]$ with positive leading coefficient. Let $S$ be the set of integers $n$ such that $$n \mid a^{f(n)}-1.$$ Prove that $S$ has density $0$; that is, prove that $\displaystyle\lim_{n\rightarrow \infty} \frac{|S\cap \{1,...,n\}|}{n}=0$.
I have not made any improvement on this one. Help!! Thanks. Sorry if this is too easy for this site but I haven't got any answer to this so tried posting this here. Thanks again.
Given that this is a contest problem, presumably there's an "elementary" solution. For a connection with research, see (e.g.) this paper of Luca and Ballot: http://nyjm.albany.edu/j/2006/12-3.html. They show that if $f$ is irreducible of degree $\ge 2$, then the primes dividing $a^{f(n)}-1$ for some $n$ form a set of relative density zero.
For these $f$, their result (along with a sieve) shows the following stronger theorem: The set of $m$ that divide $a^{f(n)}-1$ for some $n$ has asymptotic density zero. (This is much stronger since we don't insist that $n=m$.)