Divisibility and Prime Numbers
Primes are the atoms of multiplication: numbers whose only divisors are 1 and themselves. Every whole number above 1 breaks into primes in exactly one way, so a number's prime factorization tells you everything about what divides it.
What the symbols mean
- a divides b
b is a whole-number multiple of a.
- A prime factor
One of the distinct primes in n's factorization.
- Its exponent
How many times that prime appears.
Explanation
A prime is simply a whole number bigger than 1 that you can't split into a product of smaller whole numbers: 7 is prime, but isn't. The name comes from the Latin primus, "first," because primes come first: every other number is built by multiplying them. They're good for far more than puzzles, too; the security of internet encryption rests on them, as you'll see at the end of this unit. The notation (a goes into b with nothing left over) is just a short way to write that. And looks heavy, but it only says: write as primes multiplied together, with (the different primes) and (how many times each one shows up). For example, . That's all the notation there is.
Division with remainder. You've done this since grade school: 17 divided by 5 is 3 with 2 left over. In general, for any integer and positive there are unique and with and . Then exactly when the leftover is .
Primes are the building blocks: (1 is not prime, since it has only one divisor). To test whether is prime, you only need to try divisors up to . Why? If and both factors were above , their product would be bigger than . So any factorization has at least one factor at or below , and that's the one you'll find. The sieve of Eratosthenes finds all primes up to by crossing out multiples of each prime in turn.
Unique factorization. , and no other product of primes equals 360. This is the fundamental theorem of arithmetic, and it's more useful than it sounds. Think about what a divisor of 360 looks like: it can only be built from the same primes, using no more of each than 360 has. So a divisor chooses an exponent from 0 to 3 for 2, from 0 to 2 for 3 and 0 or 1 for 5, and 360 has divisors.
How many primes? Infinitely many, as Euclid proved; we'll see his proof in the unit on proofs. They do thin out, but slowly: the prime number theorem says the number of primes up to , written , is roughly .
See it
Worked examples
Factor 360 and count its positive divisors.
- 1
Divide out small primes: .
Practice
Type your answer and check it. Solve them all to complete the lesson.
How many positive divisors does 360 have?
What is the remainder when 100 is divided by 7?
How many primes are less than 30?
Is 91 prime?
A species of cicada emerges every 13 years, and a predator's population peaks every 4 years. How often do the two coincide, in years?
How many positive divisors does 720 have?
The hardest one here. Get it, and you've got this lesson.
How many zeros does end with?
Where it's used
The security of everyday internet encryption rests on how hard it is to factor the product of two very large primes.