Is 5,019 Prime?

No

5019  = 31*71*2391