Is 6,977 Prime?

Yes

6977  = 69771