Finite rings and subrings isomorphic to $\mathbb{Z}_n$

My book has proven this:

Every ring with unity has a subring isomorphic to either $\mathbb{Z}$ or $\mathbb{Z}_n$.

The $\mathbb{Z}_n$ case arises if the parent ring has characteristic $r>0$.

I have this question:

Is it possible for a ring with characteristic $r>0$ to have two subrings isomorphic to $\mathbb{Z}_n$ and $\mathbb{Z}_m$ with $n \neq m$?

I believe so, yes. Consider $\mathbb{Z_8}$. clearly $\mathbb{Z_6} \subset \mathbb{Z_8}$ and $\mathbb{Z_6} \cong \mathbb{Z_6}$, and $\mathbb{Z_4} \subset \mathbb{Z_8}$ and $\mathbb{Z_4} \cong \mathbb{Z_4}$.

My question is how to prove this.


If your subrings are required to contained the unit element of the former ring, then the answer is NO.

Let $X$ be any ring, and let $A, B$ are its subrings, assume that $A \cong \mathbb{Z}_n$, and $B \cong \mathbb{Z}_m$, where $n \neq m$. From $A \cong \mathbb{Z}_n$, we can deduce that the unit element $e$ of $X$ has additive order $n$ (note that $e \in A$ will be mapped to $\overline{1} \in \mathbb{Z}_n$); whereas the fact that $B \cong \mathbb{Z}_m$ yields the unit element $e$ of $X$ has additive order $m$, which is a contradiction.


user49685 got there first and should get credit for his work. (I've upvoted his answer...)

Final answer:

That a subring must contain the additive identity and the multiplicative identity requires that all subrings contain the characteristic subring. (I.e., they must contain the subring generated by $0$ and $1$, and since $0$ isn't doing any heavy lifting there, is the subring generated by $1$ -- the characteristic subring.) If such a subring contains an element not in the characteristic subring, then it is not singly generated, so is not cyclic.

Original answer:

Yes. $\mathbb{Z}/6\mathbb{Z}$ contains an isomorphic copy of $\mathbb{Z}/2\mathbb{Z}$ and an isomorphic copy of $\mathbb{Z}/3\mathbb{Z}$. This idea works for any ring with non-prime order.

Updated answer:

Since subrings contain $1$, the method above does not work. However, any of $ \mathbb{Z}_p \times \mathbb{Z}_q$, $\mathbb{Z}_p \oplus \mathbb{Z}_q$, $ \prod_{i=2}^n \mathbb{Z}_i$, or $ \bigoplus_{i=2}^n\mathbb{Z}_i$, would work rather transparently. (Need to be careful in the product or direct summation that only a finite number of distinct finite characteristics appear in the list of multiplicands or summands, otherwise the resulting object has characteristic zero. If, however, the "finite spectrum of characteristics" condition is satisfied, the product or direct sum can be extended to an infinite index set.)

Update to the update: This is still wrong. Too many habits from the category of rings that may or may not contain $1$.