Is 5,077 Prime?

Yes

5077  = 50771