TITLE: Hilbert class field of a quadratic field whose class number is 3
QUESTION [7 upvotes]: Is the following proposition true?
If yes, how would you prove this?
Proposition
Let $f(X) = X^3 + aX + b$ be an irreducible polynomial in $\mathbb{Z}[X]$.
Let $d = -(4a^3 + 27b^2)$ be the discriminant of $f(X)$.
Let $K = \mathbb{Q}(\sqrt{d})$.
Let $L$ be the splitting field of $f(X)$ over $\mathbb{Q}$.
Suppose the following conditions hold.
(1) $|d| = |4a^3 + 27b^2|$ is a prime number.
(2) The class number of $K$ is 3.
(3) $f(X) \equiv (X - s)^2(X - t)$ (mod $d$), where $s$ and $t$ are distinct rational integers mod $d$.
Then $L$ is the Hilbert class field of $K$.
Examples
Each of the following polynomials of negative discriminants satisfies the above conditions.
(1) $f(X) = X^3 - X + 1 \equiv (X - 13)^2(X - 20)$ (mod 23)
(2) $f(X) = X^3 + X + 1 \equiv (X-3)(X-14)^2$ (mod 31)
(3) $f(X) = X^3 + 2X + 1 \equiv (X - 14)^2(X - 31)$ (mod 59)
I could not find a polynomial of positive discriminant satisying the above conditions.

REPLY [5 votes]: You can be even more lenient on the assumptions.
Proposition.
If $K$ is a cubic number field for which $\Delta_K=\Delta(\mathcal{O}_K)$ is squarefree then $3|h(\mathbb{Q}(\sqrt{\Delta_K)})$.
Remark: note that when $K=\mathbb{Q}(\alpha)$ with $\alpha$ a root of an irreducible monic cubic polynomial $f\in\mathbb{Z}[X]$ with $\Delta(f)$ squarefree, then the above hypotheses are satisfied: we have
$$
\Delta(f)=\Delta(\mathbb{Z}[\alpha])=[\mathcal{O}_K:\mathbb{Z}[\alpha]]^2\cdot\Delta_K,
$$
from which we see that $\mathcal{O}_K=\mathbb{Z}[\alpha]$ and $\Delta_K=\Delta(f)$.
Proof. As $\Delta_K$ is not a square in $\mathbb{Q}$ it follows that the normal closure $N$ of $K/\mathbb{Q}$ has degree $6$ over $\mathbb{Q}$ and that $[\mathbb{Q}(\sqrt{\Delta_K}):\mathbb{Q}]=2$. Then $N/\mathbb{Q}(\sqrt{\Delta_K})$ is an Abelian extension of degree $3$. I claim that it is also unramified, so that it is contained in the Hilbert class field of $\mathbb{Q}(\sqrt{\Delta_K})$, proving the proposition.
To see this, let $(r,s)$ be the signature of $K$. Since $r+2s=3$ we have either $(r,s)=(1,1)$ or $(r,s)=(3,0)$. When $(r,s)=(1,1)$ we have that $\mathbb{Q}(\sqrt{\Delta_K})$ is complex as $\mathrm{sign}(\Delta_K)=(-1)^s$ so it is unramified at the infinite primes. When $(r,s)=(3,0)$ we see that $K$ and $\mathbb{Q}(\sqrt{\Delta_K})$ are both totally real, hence their compositum $N$ is also totally real. Thus $\mathbb{Q}(\sqrt{\Delta_K})$ is unramified at the infinite primes in that case as well.
Now suppose that a finite prime $\mathfrak{p}$ of $\mathbb{Q}(\sqrt{\Delta_K})$ ramifies in $N$. As $N/\mathbb{Q}(\sqrt{\Delta_K})$ is Galois of prime degree, we must have that $\mathfrak{p}$ is in fact totally ramified in $N$. The ram-rel identity $efg=6$ for the extension $N/\mathbb{Q}$ yields that $3|e$ and by multiplicativity of the ramification index it follows that the rational prime $p$ lying under $\mathfrak{p}$ ramifies totally in $K$, say $p\mathcal{O}_K=\mathfrak{q}^3$. But this implies that $\mathfrak{q}^2|\mathfrak{D}_K$, and hence upon taking norms that $p^2|\Delta_K$, which is a contradiction and hence $N/\mathbb{Q}(\sqrt{\Delta_K})$ is unramified at the finite primes.