Let $R = \mathbb{Z}[X_1, X_2, \dots]$ be the ring of polynomials in countably many variables over $\mathbb Z$. Why $K = (X_1, X_2, ...)$, the ideal generated by $X_1, X_2, ...$ is not finitely generated as an $R$-module?
The proof given is that since every polynomial contains only finitely many variables, K is not finitely generated. However, From what I understand, if K is finitely generated, say by $K_1, K_2, ... K_n$, then K can be written as $a_1 K_1 + a_2 K_2 +... a_n K_n$ where $a_i \in R$ and $K_i \in K$. If that is the case, since $a_i$ can contain any number of variables, why I can't generate K with a finite number of variables? I don't quite understand the proof.