Lesson 3.1 found that perfect squares alone have an odd divisor count. Lesson 3.3 gave every number a unique prime fingerprint. Now we count a number's divisors straight from that fingerprint, without listing a single one.
Problem
A machine builds divisors of by choosing how many 2s (0, 1, or 2) and how many 3s (0 or 1) to multiply together. How many different divisors can it build?
Show a hint
- You make two separate choices, the number of s (three options) and the number of s (two options). Every pairing of one choice with the other gives a divisor. Count the pairings.
- Three options for the s and two options for the s give combinations. List them as and confirm you get .
Show the full solution
The s can appear , , or times, which is three choices, and the can appear or times, which is two. The choices are independent, so the divisors number Listing them as gives , exactly six. Each prime offers one more choice than its exponent, and independent choices multiply.
Problem
The fingerprint of 360 is . Use the add-one-and-multiply rule to count how many positive divisors 360 has without listing them.
Show a hint
- Each prime contributes one more choice than its exponent. The prime has exponent , so it offers choices. Do the same for and for , then multiply.
- The choice counts are for the s, for the s, and for the . Multiply .
Show the full solution
Add one to each exponent and multiply. So has positive divisors, found without writing one of them down. The rule handles as many primes as a number carries, turning a long listing chore into a single multiplication.
Problem
Compare and . Apply the counting rule to each. Which number has more divisors?
Show a hint
- Apply add-one-and-multiply to each. For , the counts are and . For , the counts are and .
- gives divisors, while gives . Which is larger?
Show the full solution
For , the count is For , it is The bigger number has fewer divisors, so the answer is . Divisor count follows the shape of the exponents, not the size of the number. One tall stack of s beats two medium stacks here.
Problem
The divisor count is odd only when every exponent is even, the fingerprint of a perfect square. How many numbers from 1 to 50 have an odd number of divisors?
Show a hint
- The divisor count is a product . A product of whole numbers is odd only when every single factor in it is odd. So ask, when is every odd?
- Every is odd exactly when every exponent is even, which is precisely when the number is a perfect square. So count the perfect squares from to .
Show the full solution
A product of whole numbers is odd only when every factor is odd, and is odd exactly when is even. So an odd divisor count means every exponent is even, which is the fingerprint of a perfect square. From to the squares are the squares of through , since overshoots. That is numbers. This is lesson 3.1's result again, now falling straight out of the counting rule.
Problem
Find the smallest whole number with exactly 12 divisors by breaking 12 into exponent-plus-one pieces, building the smallest number from each, and comparing.
Show a hint
- You need . The ways to write as such a product include , , , and . Each gives a set of exponents to spend on primes.
- To keep the number small, give the biggest exponents to the smallest primes. For the split , that means . Build the number for each split and take the least.
- Compare , , , and . Which is smallest?
Show the full solution
The exponent-plus-one values have to multiply to , and to keep the number small the biggest exponents go on the smallest primes. The smallest is . Spreading the choices across is cheaper than stacking them all on .
Problem
. An even divisor must contain at least one 2. How many even divisors does 720 have?
Show a hint
- An even divisor must take at least one . Normally the s offer choices , but forbidding zero s leaves only . The s and the keep all their choices.
- So the even divisors number . Alternatively, count all the divisors and subtract the odd ones, which are the divisors of .
Show the full solution
An even divisor of must take at least one , so the s drop from five choices to the four . The s still give and the gives , so the even divisors number Restricting one prime's choices counts a whole family of divisors directly. Cross-check, has divisors and odd ones, and .
Every tool in this chapter came from the same move. Find a number's primes, read the fingerprint, and divisibility, perfect powers, GCD, LCM, and the exact divisor count all follow. Chapter 4 turns to fractions.
Practice these ideas
Practice
A number is given as . Use the add-one-and-multiply rule to count its positive divisors.
Show the solution
Add one to each exponent and multiply. The divisors are with from to and from to , which is by pairs.
Practice
Factor and apply the counting rule. How many positive divisors does 600 have?
Show the solution
Reading the fingerprint , Once a number is in fingerprint form, its divisor count is one multiplication away.
Practice
Which has more divisors, or ? Count each and enter the number with more.
Show the solution
For , the count is . For , it is . So has more, twelve against seven. Spreading primes out makes far more divisors than stacking one prime high, so the count tracks fingerprint shape, not size.
Practice
How many whole numbers from 1 to 100 have an odd number of divisors?
Show the solution
A divisor count is odd only when every exponent is even, which means the number is a perfect square. From to those are the squares of through , so the answer is . Odd divisor counts belong to perfect squares and nothing else, so counting them is just counting squares.
Practice
Find the smallest whole number with exactly 8 divisors.
Show the solution
The exponent-plus-one values must multiply to , and the biggest exponents go on the smallest primes. The smallest is , whose divisors are .
Practice
How many positive divisors does have?
Show the solution
The divisors of are , one for each exponent from to , so there are . A prime raised to the power has divisors, the simplest case of the rule.
Practice
A number has exactly three divisors only when it is the square of a prime. How many numbers from 1 to 50 have exactly three divisors?
Show the solution
For to equal , and is prime, the product must be the single factor . That forces one prime with exponent and nothing else, so the number is a prime squared. Up to those are since overshoots. That is numbers. The divisors of are just , , and , which is why three divisors always means a prime square.
Practice
How many of 360's divisors are even, given ?
Show the solution
An even divisor needs at least one , so the s drop from four choices to the three . The s give and the gives , so the even divisors number Cross-check, has divisors and odd ones, the divisors of , and .
Practice
Divisor counting rule. For , count is . Depends on exponent shape, not size. Odd count ↔ perfect square. Trim one prime's choices for a sub-family. Run backward to design a number with a target count.
Practice
Locker is flipped once per divisor, so it ends open only when it has an odd divisor count, exactly the perfect squares. Open lockers: 1, 4, 9, 16, 25, 36, 49, 64, 81, 100.
QuanticaPrealgebraOpen in the course