- I was trying to find the last two digits of the largest integer $\left\lfloor\left(\,\sqrt{\, 5\, }\, +\, 2\,\right)^{2016}\right\rfloor$ less than or equal to $\left(\,\sqrt{\, 5\, }\, +\, 2\,\right)^{2016}$.
- My idea is to relate $\left\lfloor\left(\,\sqrt{\, 5\, }\, +\, 2\,\right)^{2016}\right\rfloor$ to $\left\lfloor\left(\,\sqrt{\, 5\, }\, -\, 2\,\right)^{2016}\right\rfloor$, which will be the fraction part of $\vphantom{\LARGE A^{A}}\left(\,\sqrt{\, 5\, }\, +\, 2\,\right)^{2016}$. But I can't see whether it'll work.
Any idea is appretiated.
Note that the minimum polynomial of $\alpha =2+\sqrt 5$ is $$p(x)=x^2-4x-1$$
The other root, $\overline {\alpha}=2-\sqrt 5$, has norm less than $1$ so it makes sense to consider $$a_n= \alpha^n+ \overline {\alpha}^n$$ since for large $n$ the integer $a_n$ will be extremely close to $\alpha^n$. That sequence satisfies the recursion $$a_n=4a_{n-1}+a_{n-2}$$ with initial conditions $a_0=2, a_1=4$
You are only interested in $a_n\pmod {100}$ and a simple computation shows that the $a_n\pmod {100}$ are periodic with period $20$.
Can you finish from here?
Note: you'll need to be slightly careful and note that $\overline {\alpha}^{2016}$ is positive (and extremely small).