Why there exists a surjective ring homomorphism $f:\mathbb Z[\sqrt2]\to\mathbb Z_p$ for $p=7$, but not for $p=5?$
My try: $\mathbb Z[\sqrt 2]=\frac{\mathbb Z[X]}{X^2-2}$ where $X^2-2 $ is prime ideal. Can we define canonical ring homomorphism for $p=7$ to show surjective? Thank you.