Let RR be a and MM a finitely generated RR-module. Then there are an integer r0r\ge0, p1,,ptRp_1,\ldots,p_t\in R, and positive integers e1,,ete_1,\ldots,e_t such that

M    Rr    iR/(piei),M \;\cong\; R^{\,r}\;\oplus\;\bigoplus_i R/(p_i^{e_i}),

The integer rr and the multiset of ideals (piei)(p_i^{e_i}) are uniquely determined by MM, up to reordering.

Relation to invariant factors

This is equivalent to the invariant-factor form of the : factor the invariant factors into prime powers and regroup their primary summands. For R=ZR=\mathbb Z, it gives the primary decomposition in the .