Is 6,287 Prime?

Yes

6287  = 62871