Is 2531 a Prime Number

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

Reason

2531 only has 1 and itself 2 factors

Check Numbers related to 2531