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).
Let handle your case first:
In $\Bbb{Z}[\frac{1 + \sqrt{13}}{2}]$, we can define a function $N:\Bbb{Z}[\frac{1 + \sqrt{13}}{2}] \to \mathbb{Z}$ by $(a + b\frac{1 + \sqrt{13}}{2}) \mapsto (a + b\frac{1 + \sqrt{13}}{2})(a + b\frac{1 - \sqrt{13}}{2}) = (a+\frac{b}{2})^2 - \frac{13}{4}b^2= a^2 +ab - 3b^2$.
Claim: $\alpha\in \Bbb{Z}[\frac{1 + \sqrt{13}}{2}]$ be unit if and only if $N(\alpha) = \pm 1$.
Proof of the claim:
If $N(\alpha) = \pm 1$, clearly $\alpha$ is an unit from definition of $N$. Conversely, if $\alpha$ is a unit, then there exist a $\beta \in \Bbb{Z}[\frac{1 + \sqrt{13}}{2}]$ such that $\alpha \beta = 1$. Now, $N(\alpha \beta) = N(1) = 1$. If we can show that $N$ is multiplicative, i.e., $N(\alpha \beta)=N(\alpha)N(\beta)$, then we are done because $N(\alpha)N(\beta) = 1$ means $|N(\alpha)| = 1$. Hence, $N(\alpha)= \pm 1$.
Proof of $N(\alpha \beta) = N(\alpha)N(\beta)$: Left to be check. Do brutal computation.