It's neither of them because -4 is not a natural number and prime or composite numbers are a subset of natural numbers i.e. only natural numbers can be classified as prime or composite numbers.
Chat with our AI personalities
4 is a composite number because it is divisible by more than only 1 and itself. It is also divisible by 2. All even numbers (except the number 2) are composite.
4, which is the square of the prime number 2, is the smallest composite number.
It ends in a 4 and therefore is divisible by 2, which means it is not a prime number. It is a composite number.
A prime number has only 2 factors which are 1 and itself. Composite numbers are everything else except 1 and 0. 1 and 0 are neither prime, nor composite. 4 is composite.
Composite
composite; 2 and 4 are its factors