Let $k$ be a fixed odd positive integer. Let $m,n$ be positive integers such that $(2+\sqrt{3})^k=m+n\sqrt{3}$. Prove that $\sqrt{m-1}$ is an integer.
Let $(2+\sqrt{3})^n = a_n+b_n\sqrt{3}$. From $$a_{n+1}+b_{n+1}\sqrt{3} = (a_n+b_n\sqrt{3})(2+\sqrt{3}) = (2a_n+3b_n)+(a_n+2b_n)\sqrt{3},$$ we get $a_{n+1} = 2a_n+3b_n$ and $b_{n+1} = a_n+2b_n$ with $a_1 = 2$ and $b_1 = 1$.
How can we show that $\sqrt{a_n-1}$ is an integer for odd $n$?