Is 6,787 Prime?

No

6787  = 111*6171