Is 5,059 Prime?

Yes

5059  = 50591