Is 4871 a Prime Number

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

Reason

4871 only has 1 and itself 2 factors

Check Numbers related to 4871