Solution
= Solution
The <structure theorem for finitely generated modules over a principal ideal domain> says that a finitely generated module over a Euclidean domain $R$ is
$$
R^r\oplus R/(d_1)\oplus\cdots\oplus R/(d_k),
\qquad d_1\mid d_2\mid\cdots\mid d_k,
$$
with the rank and nonunit <invariant factors of a linear operator> unique up to associates.