Is 3187 a Prime Number

YES
3187 is a prime number.
3187 is not a composite number.

Reason

3187 only has 1 and itself 2 factors

Check Numbers related to 3187