Is 5,787 Prime?

No

5787  = 32*6431