Is 6,277 Prime?

Yes

6277  = 62771