Is 7151 a Prime Number

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

Reason

7151 only has 1 and itself 2 factors

Check Numbers related to 7151