Units of Q of square root ten (source code)

= Units of Q of square root ten

For $K=\mathbb Q(\sqrt{10})$,
$$
\mathcal O_K^\times
=\{\mathord\pm(3+\sqrt{10})^n:n\in\mathbb Z\}.
$$
The fundamental unit $3+\sqrt{10}$ has norm minus one.