I need to show that the units in the ring $\mathbb{Z}[x] =\{a + bx : a,b \in \mathbb Z\}$ where $x = \frac{1+\sqrt{13}}{2}$ (just considering the positive root of $13$), are those which $a^2 +ab -3b^2$ is a unit in $\mathbb{Z}$, that is, those which $a^2 +ab -3b^2= \pm 1$.
I have tried it by finding the solutions to $(a + bx)(a'+b'x)=1$, but this leads me to the following equation with 4 variables and many possible restrictions that I am stucked with:
$ \displaystyle (a + bx)(a'+b'x)= a a ' +ab'x + a'bx + bb'x^2 = aa' + \frac{ab'}{2}+ \frac{a'b}{2} +\frac{ab'}{2}\sqrt{13} + \frac{a'b}{2}\sqrt{13} + \frac{bb'}{2}\sqrt{13} + \frac{7}{2}bb'=1$
where the terms with $\sqrt{13}$ are necessarily $0$, that is $ab'+a'b+bb'=0$
I cannot transform the last condition into anything more easy to handle, and I don't know if there is a more efficient way tho prove this. (I do not know much about Number Theory nor advanced Group or Ring Theory, which I have seen that is often useful in similar problems).