I'm studying Pell's equations of the form $x^2-dy^2=1$ for $d$ a square-free natural number and $x,y$ integers. In particular, I want to show that such an equation always has a solution.
I see that this is equivalent to finding units with positive norm in $\mathbb{Z}[\sqrt{d}]$. I know that there is always a fundamental unit $\epsilon$ which generates the multiplicative group of units, and $\epsilon$ is unique if we take it as the smallest unit with $\epsilon>1$. Clearly any even power of $\epsilon$ will have positive norm since $\mathbb{Q}(\sqrt{d})$ is real. Hence any solution of Pell's equation would be some power of $\epsilon$.
But why does there always exist an $n\in\mathbb{N}$ such that $\epsilon^n\in\mathbb{Z}[\sqrt{d}]$? Clearly this is the case when $\epsilon\in\mathbb{Z}[\sqrt{d}]$, but of course if $d\equiv 1$ (mod $4$) then it may be the case that $\epsilon\in\mathbb{Z}[\frac{1+\sqrt{d}}{2}]$.
Computation of specific examples seems to indicate that the cube of any fundamental unit will be in $\mathbb{Z}[\sqrt{d}]$. I tried proving this directly, but the amount of calculation makes me think that there is a more elegant method. I see an argument in the final question of this document, but by the heuristic law of "conservation of difficulty", I think that once one uses Dirichlet's Diophantine approximation theorem to classify the units of real quadratic number rings, there must be a method that follows easily.
Looking forward to hearing your thoughts!