Is 5,857 Prime?

Yes

5857  = 58571