Can we find the idempotents in $(\mathbb{Z}_n,+,\cdot)$ for any $n$?
Is there a general rule?
Note: Trying to consider the prime factors!
Can we find the idempotents in $(\mathbb{Z}_n,+,\cdot)$ for any $n$?
Is there a general rule?
Note: Trying to consider the prime factors!
Understand the Chinese Remainder Theorem.
Use Thomas' hints to understand why your problem becomes that of finding the idempotents of $\mathbb{Z}/p^m\mathbb{Z}.$
See why any zero divisors of $\mathbb{Z}/p^m\mathbb{Z}$ must be nilpotent and find the nilpotent elements.
Idempotents satisfy $x(x-1)=0,$ so using 3 see why the only idempotents are the trivial ones.
Use the isomorphism in the Chinese Remainder Theorem to tell you about idempotents in $\mathbb{Z}/n\mathbb{Z}.$