Units of Q of square root minus three (source code)

= Units of Q of square root minus three

For $K=\mathbb Q(\sqrt{-3})$ and $\omega=(-1+\sqrt{-3})/2$,
$$
\mathcal O_K^\times
=\{\mathord\pm1,\mathord\pm\omega,\mathord\pm\omega^2\}
\cong C_6.
$$