Is 3,142 Prime?

No

3142  = 21*15711