Let D be a square free integer let $K=\mathbb{Q}(\sqrt{D})$ and let $\mathcal{O_{K}}$ be the ring of integer of $K$
My question: where I can find a list of of the value of $D$ which makes the ring of the quadratic field $K=\mathbb{Q}(\sqrt{D})$ have the UFD property for $D<300$ ?
Can we check whether any value of $D$ make the the ring of a quadratic field have the UFD property using sage or magma ? if yes what is the command?
The broken one-liner
computes in sage the list of all squarefree $n\le 300$, so that $\Bbb Q(\sqrt n)$ has class number one, this corresponds to the property of being UFD. Some first few entries in
Lare:Further checks in sage:
In contrast: