I understand the Pell equation is $$x^{2}-dy^{2}=1$$ However I don't understand how to use this to get $(x,y)$ for these questions.
1) Find a nontrivial solution of $x^{2} − 3y^{2} = 1.$
2) Find all positive solutions of $x^{2} − 3y^{2} = 1.$
Do I use the fact $\frac{x}{y}=\sqrt{\frac{1}{y^{2}}+3} \rightarrow 3$ then try and find some kind of answer from there?
I don't understand how to find the solutions. Any help would be appreciated thank you.
All the solutions are obtained finding first the fundamental unit of the ring of integers of the field $\mathbb Q(\sqrt d)$, say $a_0+b_0\sqrt d$, and then all the solutions $(a_n,b_n)$ are given by $$a_n+b_n\sqrt d=(a_0+b_0\sqrt d)^n$$ (I did not know the way you give).