Is 4,787 Prime?

Yes

4787  = 47871

4787 is a Twin Prime!