Determine whether there exist an odd positive integer $n$ and $n\times n$ matrices $A$ and $B$ with integer entries, that satisfy the following conditions:
$\det(B)=1$
$AB=BA$
$A^4+4A^2B^2+16B^4=2019I$ (Where $I$ is the $n \times n$ identity matrix.)
I know that $(A^2+4B^2+2AB)(A^2+4B^2-2AB)=2019I$. From this how to proceed?
See here : (it's the problem 5 from IMC 2019)
https://www.imc-math.org.uk/?year=2019§ion=problems&item=prob5s