Let $d \in \mathbb{Z} \setminus \{0, 1\}$ square free, $K = \mathbb{Q}(\sqrt{d})$, $\mathcal{O}_K$ the corresponding ring of integers, $\mathfrak{a} \subseteq K$ a fractional ideal $n, n' \in \mathbb{N}$ with $n\mathfrak{a}, n'\mathfrak{a} \subseteq \mathcal{O}_K$.
I'm currently trying to prove that the definition of the idealnorm for fractional ideals is well defined. Inside this proof I need the following result: $[n\mathfrak{a} : nn'\mathfrak{a}] = [\mathcal{O}_K : (n')]$ or more general $n\mathfrak{a} / nn'\mathfrak{a} \cong \mathcal{O}_K / (n')$ as abelian groups.
I don't know how I could approach this step. Any help is welcome!
Duplicate claim: My proof looks similar to the one posted here, but the linked post doesn't prove the question I asked here.