Completed prime factorization