Finding prime factorization of ideals in number rings
Let K be a number field and OK its ring of algebraic integers. Let p∈Z be a rational prime. I want to find the factorization of the ideal pOK. What is the syntax for this ?
For clarity, I request you to demonstrate with an example (say K=Q(√2+i) and p=2 and p=3).