Prime factorization of 5,001

5001  = 31*16671