Is 5,798 Prime?

No

5798  = 21*131*2231