Prime factorization of 5,017

5017  = 291*1731