Is 5,227 Prime?

Yes

5227  = 52271