Let $R \subset \mathbb{Q}$ be the subring $\left\{\frac{a}{b} \mid a, b \in \mathbb{Z}, b \text { odd }\right\}$. Prove that the ideals of $R$ are the zero ideal $\{0\}$ and $2^{n} R$ for $n \geq 0$.
Hint: if $\{0\} \neq I \subset R$, the element $2^{n}\frac{\text { odd }}{\text { odd }}$ with the smallest $n$ generates $I$.
I have seen similar questions asked but I am stuck on the specific step which shows that $ I=2^{n} R $. I can show that there exists $n$ such that for every element $x$ of a non-zero ideal of R, it can be expressed as $x = 2^{n} \frac{a}{b}$ with $a, b \in \mathbb{Z}, b \text { odd }$. This gives me that $ I \subset 2^{n}R $, however I am having difficulties proving it in the other direction.
Apologies if this still counts as a duplicate question.
If $a/b \in I$ with $a/b \gt 0$, then $a \in I$. Thus, $I$ contains some positive integer. Let $a$ be the smallest positive integer in $I$. Then $a = 2^nk$ with $k$ odd. If $k \gt 1$, then $a/k \in I$, contradicting the choice of $a$ as the smallest positive integer in $I$. Thus, $a=2^n \in I$ for some $n \in \Bbb Z^+$ so $2^nR \subseteq I$.
Alternatively, just take the element you've already found and multiply by $b/a \in R$ to show that $2^n \in I$.