How does one prove that $n^2 +5n + 16$ is not divisible by $169$ for any integer $n$?
THOUGHTS:
This is equivalent to say that
$$
n^2 +5n + 16=0\pmod{169}
$$
has no solutions. One can also observe that $169=13^2$. And of course one cannot expect to prove this case by case since $\mathbb{Z}$ is not a finite set.
But I really don't know how to proceed from here. Can any one help?
Best Answer
This is one of my favorite elementary number theory problems.
Hint: $$f(n)=n^2+5n+16=(n^2+5n-36)+52$$