What are the conditions for integers $D_1$ and $D_2$ so that $\mathbb{Q}[\sqrt {D_1}] \simeq \mathbb{Q}[\sqrt {D_2}]$ as fields.
Here $\mathbb{Q}[\sqrt {D}] := \{a + b \sqrt D \mid a,b \in \mathbb{Q} \}$
Really not sure where to begin with this sort of problem. I was thinking that I should split into cases where the integer is a square or not.
If $\Bbb{Q}[\sqrt{D}] = L \cong \Bbb{Q}[\sqrt{K}]= F$, where $D$ and $K$ are integers, then $D$ must have a square root in $F$. We may assume that $K$ is squarefree. If $D = (a + b \sqrt{K})^2 = a^2 + b^2K+ 2ab\sqrt{K}$, with $a, b \in \Bbb{Q}$, then since $\sqrt{K}$ is irrational either $a = 0$ or $b = 0$. In the first case $D = b^2K$, in the second case $D = a^2$, which is a contradiction. Therefore the first case holds and since $K$ is squarefree $b$ must be an integer. It follows that $L \cong F$ iff $D = b^2K$ for some nonzero integer $b$.