I want to find the maximal ideals of the ring $\mathbb{Z}[x]$ containing $30$ and $x^2+1$.
Any such ideal will contain the ideal $(30, x^2+1)$, so we are searching for maximal ideals in the ring $$\mathbb{Z}[x] / (30,x^2+1) \cong \mathbb{Z}_{30}[x] /(x^2+1) \cong \mathbb{Z}_5[x] /(x^2+1) \oplus\mathbb{Z}_3[x] /(x^2+1) \oplus \mathbb{Z}_2[x] /(x^2+1)$$
Now, we search for the ideals in the summands. Factorizing, $x^2 + 1 = (x+3)(x+2) \bmod 5$, $x^2 + 1$ is irreducible $\bmod 3$, and $x^2 + 1 = (x+1)^2 \bmod 2$.
From this, we see that $\mathbb{Z}_3[x] /(x^2+1)$ is a field - there are no nonzero ideals. Moreover, we get ideals corresponding to the factored components in the other summands.
How do I find the maximal ideals in $\mathbb{Z}_{30}[x] /(x^2+1)$ from here? Furthermore, how do I find the generators of the corresponding ideals in $\mathbb{Z}_{30}$?