The **fundamental solution** of the Pell equation $$x^{2}-3y^{2}=1$$ is $2+\sqrt{3}$.

It seems to me that if $x_{n}+y_{n}\sqrt{3}$, $x_{n}, y_{n} \in \mathbb{N}$, is a solution of the said Pell equation and $x_{n}$ is a power of $7$, then $n=2$.

Simple congruence arguments allow us to conclude that such an $n$ can't be either an odd natural number or divisible by $4$.

**Do you see a nice way to show that** $n$ **cannot be congruent to** $2$ **modulo** $4$ **unless** $n=2$**?**

In general, what are the results with which somebody interested in determining all the solutions $x_{n}+y_{n}\sqrt{d}$ of the Pell equation $x^{2}-dy^{2}=1$, subject to the additional constraint that either $x_{n}$ or $y_{n}$ be a non trivial perfect power, must be armoured?

To be 100% honest, I posed this question in http://math.stackexchange.com earlier today, but I am afraid that it might actually belong here.

Thank you very much for your knowledgeable replies.