Elementary Number Theory – Why Zero is Not Composite

arithmeticelementary-number-theoryprime numbers

I saw this question:

Vidya wonders why numbers one and zero are neither composite numbers nor prime numbers. Could you please explain to Vidya what can happen if they are either composite numbers or prime numbers? Use an example to punch your points.

Apart from the fact that I cannot comprehend how to answer, I am also unable to understand how zero is not composite.

A number $n$ is composite if $k\mid n$, where $1<k<n$. $k\mid n$ if $kx=n$. Since, $0k=0$ for all $k$, shouldn't $0$ be some sort of "hyper-composite"?

Is it? If not, why not?

Best Answer

The answer they're looking for, I think, is that if $1$ is considered a prime or $0$ considered a composite, then we no longer have unique factorization. Or at least the statement of the unique factorization theorem becomes uglier.

For the first point, $6 = 2\cdot 3 = 1^5\cdot 2 \cdot 3$ gives two different prime factorizations of $6$. Ick.

For the second, $0 = 0*3 = 0 *2.$ So $3$ is a factor of the first product, but not the second. Again, ick. And this breaks even more things. What's gcd$(0,0)$, for instance?