Is 4021 a Prime Number

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

Reason

4021 only has 1 and itself 2 factors

Check Numbers related to 4021