Let $M$ be a module over a commutative ring $R$.
It is possible that $M \otimes M = 0$ if $M$ is nonzero, for example when $R = \mathbb{Z}$ and $M = \mathbb{Q}/ \mathbb{Z}$.
What about when higher tensor powers of $M$ are zero? If $M \otimes M \otimes M = 0$, is it possible that $M \otimes M$ is nonzero? More generally if $M^{\otimes n} = 0$ for $n \geq 3$, is it possible that $M^{\otimes n-1}$ is nonzero? Can we find examples among $\mathbb{Z}$-modules (abelian groups)?
Here $M^{\otimes n} = M \otimes \cdots \otimes M$ denotes the tensor product of $M$ with itself $n$ times.
I posted this example earlier on MathOverflow.
Let $R=k[x,y]$ for a field $k$, and let $$M=\frac{k[x,y,y^{-1}]}{k[x,y]}\oplus\frac{k[x,x^{-1},y]}{k[x,y]}.$$
Then $M$ is a direct sum $M_1\oplus M_2$ of two modules for which $M_1\otimes M_1=0$, $M_2\otimes M_2=0$, but $M_1\otimes M_2\neq0$, so that $M\otimes M\cong(M_1\otimes M_2)\oplus (M_1\otimes M_2)\neq0$ but $M\otimes M\otimes M=0$.