I am dealing with the test of the OBM (Brasilian Math Olympiad), University level, 2016, phase 2.
As I've said at this topic (question 1), this other (question 2) and this (question 3, yet open), I hope someone can help me to discuss this test. Thanks for any help.
The question 4 says:
Let $A=\begin{pmatrix}4&-\sqrt5\\ 2\sqrt5&-3\end{pmatrix}$.
Find all the pairs of numbers $(n,m)\in\mathbb{N}\times \mathbb{Z}$ with $|m|\leq n$ such that $A^n-(n^2+m)A$ has all the coordinates integers.
I'm trying solving this and I'd like a lot to have clues.
I'm doing some "simulations" and have an ideia about $a_{n21}$ (entry $21$ of the matrix $A^n$). It seems $x_n\sqrt{5}$ where $x_n=2$ to $n=1,2$ and $x_{n+2}=x_{n+1}+2x_n$. Maybe we can use something about recurrence. I'm trying.
Thank you.