Definition 21.0.1 · Primes
Primes are numbers that have exactly two factors: and the number itself. For example, are all primes.
Break numbers into primes, then count, add and multiply their divisors straight from the exponents.
In this section you will be able to write any number as a product of primes and count its divisors straight from the exponents.
Twin brothers and their sister have ages that multiply to . Only one prime hides in , so every age is a power of .
Every whole number above splits into primes in exactly one way. In the factor tree under Concept 21.0.3, split as , then start over with . The leaves come out the same: .
That one factorization tells you everything about the divisors. A divisor of just picks an exponent for each prime: to for the , or for the and the . Look: each divisor is one point of the lattice above.
A perfect square has only even exponents. So counting square divisors means counting even exponents, one prime at a time.
Primes are numbers that have exactly two factors: and the number itself. For example, are all primes.
To check whether a number is prime, you only need to test the primes that are less than or equal to .
Prime factorization writes a number as a product of primes.
Example: the prime factorization of is .
If the prime factorization of a number is
then the number of factors of this number is
A factor of can only use the primes of , each at most as often as does. So a factor is with : that is choices for each exponent. Prime factorization is unique, so different exponent choices give different factors. The multiplication principle gives .
To find the number of factors of a number:
Kiana has two older twin brothers. The product of their three ages is . What is the sum of their three ages?
Factor into primes. It is a power of : . What is ?
Let . How many positive integer divisors of are less than but do not divide ?
Start small: , so . How many divisors does have?
Let be the smallest positive integer that is a multiple of and has exactly positive integral divisors, including and itself. Find .
. Which primes must contain, and at least how often?
How many positive even multiples of less than are perfect squares?
How many positive integer divisors of are perfect squares or perfect cubes (or both)?
How many positive two-digit integers are factors of ?
A positive integer divisor of is chosen at random. The probability that the divisor chosen is a perfect square can be expressed as , where and are relatively prime positive integers. What is ?
For some positive integer , the number has positive integer divisors, including and the number . How many positive integer divisors does the number have?
Find the number of ordered pairs of positive integers such that .
How many positive integer divisors of are divisible by exactly positive integers?
In this section you will be able to add up all the divisors of a number by multiplying one geometric sum per prime.
The divisors of are , and they add up to . So does . That is no accident.
Expand : every term picks one power of and one power of . That is exactly one divisor of each time. So one sum per prime, multiplied together, adds up every divisor.
Each bracket is a geometric series: .
Need only the odd divisors? Drop the bracket for . The book prints Example 21.4 in Section 21.2, but it is a divisor-sum problem, so you’ll meet it here.
If the prime factorization of a number is
then the sum of the factors of this number is
Expand the product. Each term of the expansion picks one power from every bracket and multiplies them: with . That is exactly one factor of the number, and every factor appears exactly once. So the expansion is the sum of all the factors.
For each prime in the prime factorization, first find the sum of over all the possible exponents (from up to the exponent of ). Then multiply these sums over all of the primes to get the sum of all the factors of the number.
For a positive integer, let be the quotient obtained when the sum of all positive divisors of is divided by . For example,
What is ?
Factor both numbers. and . What is ?
Let . What is the ratio of the sum of the odd divisors of to the sum of the even divisors of ?
Let be the sum of all numbers of the form , where and are relatively prime positive divisors of . What is the greatest integer that does not exceed ?
In this section you will be able to multiply all the divisors of a number at once by pairing each divisor d with n/d.
The divisors of pair up: , , , . Each pair multiplies to . And is left over, paired with itself.
Pair every divisor with its partner . On the lattice, partners sit opposite each other across the center. With divisors there are pairs, each worth , so the product is .
When is a perfect square, the middle divisor is its own partner. It counts as half a pair, and the formula still works.
If a number has factors (count them with the number-of-factors formula), then the product of the factors of is
Pair each factor with . Each pair multiplies to . Write the product of all factors twice, once in each order, and multiply the two copies term by term: , so . (When is a perfect square, pairs with itself; the formula still holds.)
Let be the set of all positive integer divisors of . How many numbers are the product of two distinct elements of ?
Given that , where both and are positive integers, find the smallest possible value for .
In this section you will be able to mix primes, divisor counts and divisibility on contest problems from across the chapter.
Not every problem here says “divisor” out loud. Factor first anyway: primes, parity and last digits crack most of them.
Problems 21.3.24 to 21.3.38 are the book’s Additional Problems. The last two are challenge problems. Every problem has three hints if you get stuck.
Want every problem from this chapter on one page? Open the problem set.
A single bench section at a school event can hold either adults or children. When bench sections are connected end to end, an equal number of adults and children seated together will occupy all the bench space. What is the least possible positive integer value of ?
What is the least positive integer such that is a perfect square?
For how many (not necessarily positive) integer values of is the value of an integer?
The numbers from to are placed at the vertices of a cube in such a manner that the sum of the four numbers on each face is the same. What is this common sum?
What is the sum of the exponents of the prime factors of the square root of the largest perfect square that divides ?
How many ways are there to write as the sum of twos and threes, ignoring order? (For example, and are two such ways.)
Find the number of positive integers with three not necessarily distinct digits, , with and such that both and are multiples of .
The integers from to , inclusive, can be arranged to form a -by- square in which the sum of the numbers in each row, the sum of the numbers in each column, and the sum of the numbers along each of the main diagonals are all the same. What is the value of this common sum?
All the numbers are assigned to the six faces of a cube, one number to each face. For each of the eight vertices of the cube, a product of three numbers is computed, where the three numbers are the numbers assigned to the three faces that include that vertex. What is the greatest possible value of the sum of these eight products?
How many odd positive -digit integers are divisible by but do not contain the digit ?
There is a prime number such that is the cube of a positive integer. Find .
Joey and Chloe and their daughter Zoe all have the same birthday. Joey is year older than Chloe, and Zoe is exactly year old today. Today is the first of the birthdays on which Chloe's age will be an integral multiple of Zoe's age. What will be the sum of the two digits of Joey's age the next time his age is a multiple of Zoe's age?
What is the tens digit of ?
Let be the -digit number that is formed by writing the integers from to in order, one after the other. What is the remainder when is divided by ?
What is the hundreds digit of ?
In multiplying two positive integers and , Ron reversed the digits of the two-digit number . His erroneous product was . What is the correct value of the product of and ?
Positive integers , , and , with , form a geometric sequence with an integer ratio. What is ?
How many positive cubes divide ?
This problem also appears in the book as 21.3.23.
Let . What is the ratio of the sum of the odd divisors of to the sum of the even divisors of ?
Suppose that and are positive integers such that . What is the minimum possible value of ?
Elmo makes sandwiches for a fundraiser. For each sandwich he uses globs of peanut butter at ¢ per glob and blobs of jam at ¢ per blob. The cost of the peanut butter and jam to make all the sandwiches is $2.53. Assume that , , and are positive integers with . What is the cost of the jam Elmo uses to make the sandwiches?
The largest prime factor of is because . What is the sum of the digits of the greatest prime number that is a divisor of ?
How many ways are there to paint each of the integers either red, green, or blue so that each number has a different color from each of its proper divisors?
The positive integers , , , and are all prime numbers. The sum of these four primes is
Find the number of positive integers that are divisors of at least one of , , .
For each positive integer , let be twice the number of positive integer divisors of , and for , let . For how many values of is ?
For each positive integer , let denote the greatest prime factor of . For how many positive integers is it true that both and ?