2019 AMC 10A Problem 11
How many positive integer divisors of are perfect squares or perfect cubes (or both)?
Show solution without answering
Key insight
201 = 3 times 67, so each divisor is a power of 3 times a power of 67. Count squares (25) and cubes (16), then remove the 4 counted twice.
Solution
1. Factor the base. , and both and are prime. So .
2. What does a divisor look like? Every divisor is , where can be any of and can be any of .
3. When is it a perfect square? A number is a perfect square when every prime in it appears an even number of times. For example, . So and must both be even: . That is choices for and for , so squares.
4. When is it a perfect cube? Each exponent must be a multiple of : . That is cubes.
5. Which are both? The exponents must be even and multiples of , so multiples of : or . That gives divisors, and they were counted in both step 3 and step 4.
6. Count each divisor once. Add the two lists and remove the ones counted twice:
The answer is .
Why this works
Once a number is broken into primes, its divisors are just choices of exponents, so "how many divisors are squares" becomes "how many ways to pick even exponents". For "this or that (or both)", add the two counts and subtract the overlap, since those were counted twice. And always check whether the base is really prime: is not.
Concise solution
A shorter write-up, the way contest solutions are usually written. It may take a different route from the solution above.
Since , we have , and every divisor has the form with .
- Perfect squares: and both even. The even values in are , five choices each, giving .
- Perfect cubes: and both multiples of : , four choices each, giving .
- Both (perfect sixth powers): , giving .
By inclusion-exclusion, the count is .
The answer is .
Review in the AoPS books
- Introduction to Number Theory, Chapter 1: Integers: The Basics (§1.4, §1.5)
- Introduction to Counting & Probability, Chapter 1: Counting Is Arithmetic (§1.3)
- Introduction to Number Theory, Chapter 5: Divisor Problems (§5.2, §5.3)
- Intermediate Counting & Probability, Chapter 3: A Piece of PIE (§3.2, §3.3)
Similar problems
Problem © Mathematical Association of America (MAA), American Mathematics Competitions. Reproduced for non-commercial educational use. Solution and commentary are original to this site.