Is 5,142 Prime?

No

5142  = 21*31*8571