For a Noetherian scheme $X$ the Grothendieck group $K(X)$ is defined as the free abelian group on coherent sheaves quotiented by the equivalence relation $\mathscr{F}=\mathscr{F}'+\mathscr{F}''$ for every short exact sequence $$0\to\mathscr{F}'\to\mathscr{F}\to\mathscr{F}''\to0$$
As part of my solution to problem III 5.4 in Hartshorne I need to show that the Grothendieck group of affine space $X=\text{Spec}( \mathbb{k}[x_1,\dots,x_n])$ is the free abelian group generated by the structure sheaf $\mathcal{O}_X$.
One can rephrase this algebraically by defining the Grothendieck group of a noetherian ring $A$ as the free abelian group on finitely generated modules quotiented by an analagous equivalence relation. Then I need to show $K(\mathbb{k}[x_1,\dots,x_n])$ is the free abelian group generated by $\mathbb{k}[x_1,\dots,x_n]$.
Unfortunately I do not really know how to approach this problem.
Since your scheme is affine, and since the Grothendieck group of a category obviously is invariant under equivalences, you want to compute the Grothendieck group of the category of finitely generated modules over $k[x_1,\dots,x_n]$. Since this ring is regular, it is easy to see that the Grothendieck group of its category of f.g. modules is the isomrphic to the Grothendieck group of the category of its f.g. projective modules. Now, by the Quillen-Suslin answer to Serre's question, every f.g. module over that ring is in fact free.
This tells us that the group you want is $\mathbb Z$.
Of course, using the Quillen-Suslin theorem is slightly thermonuclear. You can obtain the same conclusion simply by noting that every f.g. projective module over a polynomial ring has a finite resolution by free modules —and this is a weaker statement; you can find a proof of this here