Is 5,997 Prime?

No

5997  = 31*19991