(a) According to Proposition 8.10, unique factorization fails in Z[D] when D=−3 since the number D(D−1)=12 has two distinct prime factorizations in Z[D]. On the other hand, if we enlarge Z[−3] to Z[ω] for ω=(1+−3)/2 then unique factorization is restored. Explain how the two prime factorizations of 12 in Z[−3] give rise to the same prime factorization in Z[ω] (up to units).
(b) Do the same thing for the case D=−7.