In the post Examples: Projective Modules that are Not Free, we saw nine examples of projective modules that are not free. On in particular was 'the' submodule $M = \oplus_{i=1}^\infty \mathbb{Z}$ of $\prod_{i=1}^\infty\mathbb{Z}$. Now, that's a cool example to be sure, but the way we showed that $M$ was not free was to cite that $\prod_{i=1}^\infty\mathbb{Z}$ is uncountable. Actually, I like the argument a lot, but it's possible to use the idea of that example and choose $M$ instead to be finite and different from all the examples in the aforementioned post. In fact, we'll see a large class of examples that can be constructed from the ideas here.

The idea is to take an abelian group $A$ an consider $A$ as a module over its endomorphism ring $E = \mathrm{Hom}(A,A)$, where the endomorphisms are just homomorphisms $A\to A$ of abelian groups. Sometimes, $A$ can be projective over $E$. Actually, for a while it was believed that the projective dimension of $A$ over $E$ could only be $0$ or $1$, but eventually I.V. Bobylev showed in [1] that $A$ could have any projective dimension over $E$, including infinity!

More »