On the flat module Wikipedia page, it's stated that $\mathbb{Z}/n\mathbb{Z}$ is not flat over $\mathbb{Z}$. But I don't understand their explanation of why. It is said that
$n:\mathbb{Z}\rightarrow \mathbb{Z}$ is injective, but tensored with $\mathbb{Z}/n\mathbb{Z}$ it is not.
Why does this imply that $\mathbb{Z}/n\mathbb{Z}$ is not flat? What exact sequence is not preserved by $\oplus_\mathbb{Z}\mathbb{Z}/n\mathbb{Z}$, and why? I apologize if this is an elementary question, but I am new to flatness. I may need to have it spelled out for me.
Every monomorphism $f:A \to B$ induces an exact sequence $0 \to A \to B \to \text{coker}(f) \to 0$. As tensoring is right-exact, a module $M$ is flat iff tensoring with $M$ preserves monomorphisms.
Now use that $\Bbb Z \otimes_{\Bbb Z}\Bbb Z /n \Bbb Z = \Bbb Z/n \Bbb Z$ to see why the map $x \to nx$ is not injective on the tensors.