Is 5,797 Prime?

No

5797  = 111*171*311