Is 5,017 Prime?

No

5017  = 291*1731