Is 5,031 Prime?

No

5031  = 32*131*431