Let K be a finite extension of Q and let O=OK be its ring of integers. We will assume that O=Z[θ] for some θ∈O. The minimal polynomial of θ will be denoted by g. For a prime number p let
gˉ(X)=gˉ1(X)e1⋅…⋅gˉr(X)er
be the decomposition of gˉ(X)=g(X)+pZ[X]∈(Z/pZ)[X] into distinct irreducible monic factors gˉi(X)∈(Z/pZ)[X]. Let gi(X)∈Z[X] be a polynomial whose reduction modulo p is gˉi(X). Show that
pi=[p,gi(θ)],i=1,…,r,
are the prime ideals of O containing p, that these are pairwise different, and
[p]=p1e1⋅…⋅prer