I am a student of a masters course and this question was asked in my quiz of commutative algebra.
Question: Prove that $\mathbb{Z}/ 3\mathbb{Z}$ is a projective $\mathbb{Z} / 6\mathbb{Z}$ module which is not free.
By web surfing I found 2 similar questions here:Showing that $\mathbb{Z}/3\mathbb{Z}$ is a projective $\mathbb{Z}/12\mathbb{Z}$-module but not a free $\mathbb{Z}/12\mathbb{Z}$-module and here :Prove that every $\mathbb{Z}/6\mathbb{Z}$-module is projective and injective. Find a $\mathbb{Z}/4\mathbb{Z}$-module that is neither.
But unfortunately I am not able to use these 2 questions to answer my question ( maybe my concepts are lacking). I read my notes again and found out some relevant results here:
(1) Every free module $F$ over a ring $R$ with $1$ is projective.
(2) Let $R$ be a ring. Then the following conditions on an $R-$ module P are equivalent:
(1) $P$ is projective. (2) Every short exact sequence $0\to A\to B \to P\to 0$ is split exact .
(3) there is a free module $F$ and an $R-module K$ such that $F\approx K \oplus P$.
But I am not sure how to use these to prove what is asked in question ( unfortunately,I am not able to prove either of the question asked).
Can you please tell how to prove the question not just hints?
I really want to learn how to solve this problem.
In addition to Diego's answer, another approach is to use the fact that a module $P$ is projective $R$-module if it is a direct summand of a free $R$-module $F$ (i.e. $P$ is an $R$-submodule of $F$ and there exists a "complementary" $R$-submodule $Q$ of $F$ such that $F = P \oplus Q$).
In your example, $R = \mathbb Z / 6\mathbb Z$. Consider the $F = \mathbb Z / 6\mathbb Z$, which is clearly a free module over $R$. Define $P = \{ 0, 2, 4 \}$ and $Q = \{0, 3 \}$. $P$ and $Q$ are both $R$-submodules of $F$, and $F = P \oplus Q$. Thus, by the criterion in the previous paragraph, $P$ is projective. Now observe that $P$ is isomorphic to $\mathbb Z / 3\mathbb Z$ as an $R$-module.