Let $K$ be a quadratic number field. Let $\mathcal{O}_K$ be the ring of algebraic integers in $K$. Let $R$ be an order of $K$, $D$ its discriminant. I am interested in the ideal theory on $R$ because it has a deep connection with the theory of binary quadratic forms as shown in this. By this question, $1, \omega = \frac{(D + \sqrt D)}{2}$ is a basis of $R$ as a $\mathbb{Z}$-module.
Let $x_1,\cdots, x_n$ be a sequence of elements of $R$. We denote by $[x_1,\cdots,x_n]$ the $\mathbb{Z}$-submodule of $R$ generated by $x_1,\cdots, x_n$.
Let $I$ be a non-zero ideal of $R$. I am interested in a decomposition of $I$ into a product of ideals. By this question, there exist unique rational integers $a, b, c$ such that $I = [a, b + c\omega], a \gt 0, c \gt 0, 0 \le b \lt a, a \equiv 0$ (mod $c$), $b \equiv 0$ (mod $c$). If $c = 1$, we say $I$ is a primitive ideal. Let $a = ca'$, $b = cb'$. Then $I = cJ$, where $J = [a', b' + \omega]$. Clearly $J$ is a primitive ideal. So the decomposition problem can be reduced to the case when $I$ is primitive.
Let $\frak{f}$ $= \{x \in R | x\mathcal{O}_K \subset R\}$. Let $I$ be an ideal of $R$. If $I + \mathfrak{f} = R$, we call $I$ regular.
My Question Is the following proposition correct? If yes, how do you prove it?
Proposition Let $I = [a, r + \omega]$ be a primitive regular ideal of $R$, where $a \gt 0$ and $r$ are rational integers. Suppose $a = gh, g \gt 0, h \gt 0$ Then $J_1 = [g, r + \omega], J_2 = [h, r + \omega]$ are primitive regular ideals and $I = J_1J_2$.
Remark I am not 100% sure of the correctness of the proposition, though I think it is likely to be true(see my method below). I would like to know if the proposition is correct. I also would like to know other proofs based on different ideas if the proposition is correct. I welcome you to provide as many different proofs of the result as possible. Please provide full proofs which can be understood by people who have basic knowledge of introductory algebraic number theory.
My method Use the results of this question and this question.