 
and the set of integers is
 
 we say that
 we say that  divides
 
divides  , written
, written  , if
, if  for some
 for some
 .  In this case we say
.  In this case we say  is a divisor of
 is a divisor of  .  We say
that
.  We say
that  does not divide
 does not divide  , written
, written  , if there is no
, if there is no
 such that
 such that  .
. and
 and  .
Also, all integers divide 0
, and 0
 divides
only 0
.  However,
.
Also, all integers divide 0
, and 0
 divides
only 0
.  However,  does not divide
 does not divide  in
 in 
 .
.  
 for ``
 for `` is divisible by
 is divisible by
   '' is common in Russian literature on number theory.
'' is common in Russian literature on number theory.   
 is prime if it the only positive 
divisors of
 is prime if it the only positive 
divisors of  are
 are  and
 and  .
We call
.
We call  composite if
 composite if  is not prime.
 is not prime.  
The number  is neither prime nor composite.  The first few
primes of
 is neither prime nor composite.  The first few
primes of 
 are
 are 
 
and the first few composites are
 
 should be considered a prime, and in the 1914 table
  [#!lehmer:primetable!#], Lehmer considers
 should be considered a prime, and in the 1914 table
  [#!lehmer:primetable!#], Lehmer considers  to be a prime.
In this book we consider neither
 to be a prime.
In this book we consider neither  nor
 nor  to be prime.
 to be prime.
 and
 and  , inclusive,
using the command prime_range(a,b):
, inclusive,
using the command prime_range(a,b):
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:
 is the
empty product.
 is the
empty product.  
![$\displaystyle \mathbb {Z}[\sqrt{-5}] = \{a + b\sqrt{-5} : a, b\in\mathbb {Z}\} \subset \mathbb {C},
$](img55.png) 
where
 factors in two different ways:
 factors in two different ways:
 
William 2007-06-01