Prime factorization of integers in processing