Question:
$$a_n=n^2+20$$ where $n$ is a natural number. $d_n$ denotes the greatest common divisor of $a_n$ and $a_{n+1}$. Show that $d_n$ divides $81$ for all $n$.
I tried the question and got some results but could not prove what is asked to. I got $d_n$ divides $2n+1$ and $n(n-40)$ also I tried by checking congruences modulo $3$ and other numbers but ended up nowhere. I also came across a solution using Chinese remainder theorem while searching but did not understand it.
Hint : $d | n(n-40)$ $\Rightarrow$ $d | 2n^2 - 80n$