exercise: let $A$ be an integral domain in which all prime ideals are maximal (but may not be Dedekind in general). let $P_1, P_2$ be 2 distinct prime ideals. prove: for any positive integer $m, n$, $P_1^m+P_2^n=A$.
so the hint is to prove this first for arbitrary $m$ when $n=1$. I finished this step by observing that if $P_1^m$ is contained in $P_2$, then since they re prime ideals $P_1 \subset P_2$. this contradicts the fact that they re distinguish and maximal. so this was done.
but next how to use induction for $m$? I need some hint, thanks!