Just finished my semester in advanced abstract algebra and there was one question that I could not answer.
Let $R$ be commutative and let $(e_1,...,e_n)$ be a base for $R^{(n)}$. Put $f_i=\sum_{j=1}^n a_{ij}e_j$ where $A=(a_{ij})\in M_n(R)$. Show that the $f_i$ form a base for a free submodule $K$ of $R^{(n)}$ if and only if $\det A$ is not a zero-divisor.