Is 9781 a Prime Number

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

Reason

9781 only has 1 and itself 2 factors

Check Numbers related to 9781