TITLE: Example of finitely generated Z[x]-module which is not a direct sum of cyclic modules
QUESTION [5 upvotes]: Could you give an example of finitely generated Z[x]-module which is not a direct sum of cyclic modules? 

I have no idea about the example, could you give me some ideas? Thank you.

REPLY [5 votes]: The ideal $I=(2,X)$ of $\mathbb Z[X]$ is not a direct sum of (non-zero) cyclic $\mathbb Z[X]$-modules.

Let's suppose that $I=(2,X)$ is a direct sum of (non-zero) cyclic $\mathbb Z[X]$-modules. Then there exists a family $(N_{\alpha})_{\alpha\in A}$ of (non-zero) cyclic submodules of $I$ such that $I=\sum_{\alpha\in A}N_{\alpha}$, and $N_{\beta}\cap\sum_{\alpha\ne\beta}N_{\alpha}=0$ for all $\beta\in A$. In particular, $N_{\alpha}$ are principal ideals in $\mathbb Z[X]$. But $N_{\alpha}\cap N_{\beta}\ne 0$ for $\alpha\ne\beta$ (if $x_{\alpha}\in N_{\alpha}$ and $x_{\beta}\in N_{\beta}$, then $x_{\alpha}x_{\beta}\in N_{\alpha}\cap N_{\beta}$). This leads us to the conclusion that $|A|=1$, that is, $I$ is principal, a contradiction.