Let $R$ be a commutative ring with unity. Assume $R$ is integral (i.e. it has no zerodivisors, i.e. it is reduced and $\operatorname{Spec} R$ is irreducible) and noetherian. Let $\mathfrak{m}, \mathfrak{n} \subseteq R$ be two maximal ideals. Can it happen that $R/\mathfrak{m}$ is a finite field, and $R/\mathfrak{n}$ is an infinite field?
Some observations:
- If $R$ is a finitely generated algebra over field $k$, then by the weak Nullstellensatz all residue fields are finite extensions of $k$, hence they are either all finite or all infinite, depending on whether $k$ is finite or infinite (integrality is not really needed here).
- If $R$ is a finitely generated algebra over $\mathbb{Z}$, then it is a well-known lemma, that all residue fields of $R$ are finite (integrality is not really needed here).
- If we drop the integrality condition, then there are obvious examples: take any two fields $K, L$, where $K$ is finite, and $L$ is infinite, and consider $R = K \times L$.
- If we drop the condition that $R$ is noetherian, examples exist. Take $R = \mathbb{Z}[x_1, x_2, \ldots]$. It is easy to see that both $\mathbb{F}_p$ and $\mathbb{Q}$ are quotients of $R$.
- Note that the characteristic of a residue field does not need to remain constant across all maximal ideals: take $R = \mathbb{Z}[x]$, then any finite field is a quotient of $R$.
- The question is trivial for local rings.
In case one can find an example, I would also like to know what additional conditions on $R$ would imply that residue fields are either all finite or all infinite.
Edit Thanks for the answers. I've found a related thread on MathOverflow: https://mathoverflow.net/questions/176117/existence-of-a-ring-with-specified-residue-fields . It seems that the linked paper of Heitmann implies existence of a PID with residue fields $\{ \mathbb{Q} \} \cup \{ \mathbb{F}_p | p \in \mathbb{P}\}$.