why is 1 not a composite or prime number?
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.