Is 4,027 Prime?

Yes

4027  = 40271