Question: why 1 is not prime nor composite number?
Answer: One is neither prime nor composite. To be prime, a number must have two positive divisors: the number itself and one. One only has a single positive divisor. One isn't composite because two numbers that aren't one can not multiply to equal one.