Let RR be a and let MM be a . Then there exist an integer r0r\ge 0 and nonzero nonunits d1,,dtRd_1,\dots,d_t\in R, with d1d2dtd_1\mid d_2\mid\cdots\mid d_t, such that

M    Rr    i=1tR/(di),M \;\cong\; R^{\,r}\;\oplus\;\bigoplus_{i=1}^t R/(d_i),

a decomposition as a of a free part and cyclic torsion factors. The integer rr, the number tt, and the invariant factors did_i are unique, with each did_i determined up to multiplication by a unit.

Consequences

The theorem gives the when R=ZR=\mathbb Z. It is equivalent to and also has an .