and the set of integers is
The number is neither prime nor composite. The first few primes of are
and the first few composites are
sage: prime_range(10,50) [11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47]Computing the composites in an interval is a little more complicated:
sage: [n for n in range(10,30) if not is_prime(n)] [10, 12, 14, 15, 16, 18, 20, 21, 22, 24, 25, 26, 27, 28]
Every natural number is built, in a unique way, out of prime numbers:
where factors in two different ways:
William 2007-06-01