Consider the Pell equation $x^2 - dy^2 = n$ where $d$ is a positive non-square integer.
Are there examples of special $d$ that makes it easy to solve (obtain non-trivial solutions) the equation for any $n \in Z - \{ 0 \} $?
Note: To clarify the motivation behind this question, I have $n$ that needs to be represented in a Generalized Pell Equation form $(x^2 - dy^2)$. If we can freely choose $d$ positive non-square, can we make choice(s) for $d$, perhaps depending on $n$ (since some choices of $d$, $n$ do not permit solutions), that renders the equation easily solvable.
See related: Is every integer $z$ representable in Pell form as $x^2 \pm dy^2 =z$?
I developed a single variable function that generates Pell numbers in sequence.
\begin{equation}\quad m=k+\sqrt{2k^2+(-1)^k}\end{equation} Beginning with zero, each value of $k$ generates an integer $m$ which is the next Pell number. Here are samples (beginning with $1$) I used to generate Pythagorean triples where $B=A\pm1$. \begin{align*} k=1\quad &\implies m=(1+\sqrt{2(1)^2+(-1)^1}\space)\big)=2\quad & F(2,1)=(3,4,5)\\ k=2\quad &\implies m=(2+\sqrt{2(2)^2+(-1)^2}\space)\big)=5\quad & F(5,2)=(21,20,29)\\ k=5\quad &\implies m=(5+\sqrt{2(5)^2+(-1)^5}\space)\big)=12\quad & F(12,5)=(119,120,169)\\ k=12\quad &\implies m=(12+\sqrt{2(12)^2+(-1)^{12}}\space)\big)=29\quad & F(29,12)=(697,696,985) \end{align*}
Alternatively, you can generate a Pell number $(P)$ directly using this formula. \begin{equation} P_n= \frac{(1 + \sqrt{2})^n - (1 - \sqrt{2})^n}{2\sqrt{2}}\qquad n\ge0 \end{equation}
It will yield $\quad P_0=0\quad P_=1\quad P_2=2\quad P_3=5\quad P_4=12\quad P_5=29\quad P_6=70\quad ...$
This is the second formula after the line reading "proved using telescoping series" in the Pell numbers link above and it seems to be the easiest to use of the ones I've tried.