I am looking for
an example of a ring where unique factorization does not hold. However the ring is supposed to have the property that every irreducible is already a prime.
So unique factorization should fail because one cannot decompose every element into a finite product of irreducibles. In particular the ring must not be Noetherian. What is an example of such a ring?