Is 5,794 Prime?

No

5794  = 21*28971