Is 5,977 Prime?

No

5977  = 431*1391