I have been stuck on this problem for some time, but I don't have any idea as to where to start. The problem is as follows:
Let $(a_{n\in \mathbb N})$ be the sequence of integers defined recursively by $$a_0 =0, a_1 =1, a_{n+2} = 4a_{n+1} +a_n$$ Find the common divisors of $a_{1986}$ and $a_{6891}$.
Any help is appreciated. Thank you.
One can show inductively that $(u_n,u_{n+1})=1$ and $$ u_{m}=u_{k}u_{m-k+1}+u_{k-1}u_{m-k},\tag{1} $$ whenever $\,k,m\in\mathbb N$ and $k< m$.
Suppose now that (Euclidean division) $$ m=\ell k+\upsilon, \quad \upsilon\in\{0,1,\ldots,k-1\}, $$ then it is readily shown, a consequence of $(1)$ that $$ (u_m,u_k)=(u_k,u_\upsilon). \tag{2} $$
Using $(2)$ repeatedly we obtain that $$ (u_m,u_k)=u_{(m,k)}, $$ and as $(6891,1986)=3$, then $$ (u_{6891},u_{1986})=u_3=4. $$