I want to find coefficients $a$ and $b$ in $\mathbb{Z}[\sqrt{-19}]$ such that $a(18 + \sqrt{-19}) + b(18 - \sqrt{-19}) = 1$ (I know that these elements are coprime in $\mathbb{Z}[\sqrt{-19}]$).
At first I thought of the extended euclidean algorithm, but then I remembered that $\mathbb{Z}[\sqrt{-19}]$ is not an Euclidean domain, it's not even a unique factorization domain.
Setting $a = b = 1$ gives $a(18 + \sqrt{-19}) + b(18 - \sqrt{-19}) = 36$, but this does not help either because 36 is not a unit.
Is there a systematic way to go about this, or just guesswork?