Is 1,187 Prime?

Yes

1187  = 11871