Is 6,987 Prime?

No

6987  = 31*171*1371