Divisibility & Factors
Divisors, number/sum of divisors, factorization, divisibility rules
What you need to know
- Fundamental Theorem of Arithmetic. Every whole number is a product of primes in exactly one way (apart from order). We write , where the are different primes and the are their exponents. Example: , and no other primes multiply to .
- Counting divisors. Write for the number of positive divisors of . Then , because a divisor uses anywhere from to copies of each prime : that is choices. Example: has divisors.
- Adding divisors. Write (Greek "sigma") for the sum of the positive divisors. Multiply one sum per prime: . Example: .
- Divisors come in pairs and . So has an odd number of divisors exactly when is a perfect square, since only then does one divisor, , pair with itself. Example: pairs up as , , , , , giving divisors.
- Divisibility rules. Last digit for , , ; last two digits for , ; last three digits for ; digit sum for , ; alternating digit sum (add and subtract the digits in turn) for . Example: is divisible by (ends in ), by (), and by ().
- Counting multiples. From to there are multiples of , where (the floor) means round down. Example: multiples of up to , the last being .
- Combining. If divides both and , then divides for any integers and . Example: divides and , so it divides .
How AMC 10 tests it
- Early problems (1–8) factor the contest year and ask for a sum or a digit fact about its factors.
- Middle problems (10–18) ask "how many positive divisors of are …" (even, perfect squares, multiples of ). That is with limits on the exponents.
- "How many integers up to are divisible by or but not ?" combines floor counting with the Principle of Inclusion-Exclusion (PIE).
- Products of consecutive integers: which number must divide ? One counterexample rules a choice out.
- Late problems go backwards: given or , find the smallest such or count the possibilities.
Standard approaches
- Prime factorize right away; almost every divisor question becomes a question about exponents.
- To count divisors with a property, list the allowed exponents for each prime and multiply. Example: an even divisor of has to twos and to threes: .
- For the smallest with a given number of divisors, write that number as a product , give the largest exponents to the smallest primes, and compare every such product.
- Count multiples with floors, and handle overlaps with the lcm: numbers divisible by both and are the multiples of .
- For a "must divide" claim, test one small example such as .
Worked example
Let be the smallest positive integer with exactly positive divisors. What is the sum of the digits of ?
(A) (B) (C) (D) (E)
Step 1: the shapes. The divisor count is a product of (exponent ) factors. So write as a product of factors that are each at least , largest first: , , , .
Step 2: smallest number for each shape. Subtract from each factor to get the exponents, and give the biggest exponent to , the next to , then :
- gives .
- gives .
- gives .
- gives .
Step 3: pick the smallest. , and its digit sum is .
The answer is .
Pitfalls
- Forgetting the : has divisors, not .
- Counting and inconsistently. "Proper divisors" leaves out itself, so check the wording. Example: has divisors but proper divisors.
- Assuming the shape with the most factors always gives the smallest ; compare them all. Example: for divisors, gives , but gives .
- Using instead of in PIE when and share a factor. Example: up to , the numbers divisible by both and are the multiples of , not the multiples of .
Traps that recur
- Counting only the 15 primes as failures (answer 35) and missing that n = 4 also fails, or forgetting that n = 1 works. (2019 AMC 10A #25)
- Counting only the n with d(n) = 6 (eight of them) and missing 36 and 48, whose f_1 values 18 and 20 also feed into the fixed point 12. (2021 AMC Fall 10A #23)
- Trying to compute C(52,10) exactly, or using divisibility by 11 (which every choice satisfies) and getting nowhere. (2020 AMC 10B #19)
- Answering 121 by forgetting the word 'distinct', or subtracting only the two obvious cases 1 and 10^10 to get 119. (2019 AMC 10B #19)
- 1.2021 AMC 10B #5
The ages of Jonie's four cousins are distinct single-digit positive integers. Two of the cousins' ages multiplied together give , while the other two multiply to . What is the sum of the ages of Jonie's four cousins?
- A)
- B)
- C)
- D)
- E)
- 2.2019 AMC 10A #2
What is the hundreds digit of
- A)
- B)
- C)
- D)
- E)
- 3.2008 AMC 10A #3
For the positive integer , let denote the sum of all the positive divisors of with the exception of itself. For example, and . What is ?
- A)
- B)
- C)
- D)
- E)
- 4.2000 AMC 10 #1
In the year , the United States will host the International Mathematical Olympiad. Let and be distinct positive integers such that the product . What is the largest possible value of the sum ?
- A)
- B)
- C)
- D)
- E)
- 5.2024 AMC 10A #7
The product of three integers is . What is the least possible positive sum of the three integers?
- A)
- B)
- C)
- D)
- E)
- 6.2024 AMC 10B #8
Let be the product of all the positive integer divisors of . What is the units digit of ?
- A)
- B)
- C)
- D)
- E)
- 7.2024 AMC 10B #6
A rectangle has integer length sides and an area of 2024. What is the least possible perimeter of the rectangle?
- A)
- B)
- C)
- D)
- E)
- 8.2023 AMC 10A #12
How many three-digit positive integers satisfy the following properties?
- The number is divisible by .
- The number formed by reversing the digits of is divisible by .
- A)
- B)
- C)
- D)
- E)
- 9.2022 AMC 10B #8
Consider the following sets of elements each: How many of these sets contain exactly two multiples of ?
- A)
- B)
- C)
- D)
- E)
- 10.2021 AMC Fall 10B #6
The least positive integer with exactly distinct positive divisors can be written in the form , where and are integers and is not a divisor of . What is
- A)
- B)
- C)
- D)
- E)
- 11.2020 AMC 10A #9
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
- A)
- B)
- C)
- D)
- E)
- 12.2017 AMC 10A #16
There are 10 horses, named Horse 1, Horse 2, , Horse 10. They get their names from how many minutes it takes them to run one lap around a circular race track: Horse runs one lap in exactly minutes. At time 0 all the horses are together at the starting point on the track. The horses start running in the same direction, and they keep running around the circular track at their constant speeds. The least time , in minutes, at which all 10 horses will again simultaneously be at the starting point is . Let be the least time, in minutes, such that at least 5 of the horses are again at the starting point. What is the sum of the digits of ?
- A)
- B)
- C)
- D)
- E)
- 13.2014 AMC 10B #12
The largest divisor of is itself. What is its fifth largest divisor?
- A)
- B)
- C)
- D)
- E)
- 14.2013 AMC 10B #9
Three positive integers are each greater than , have a product of , and are pairwise relatively prime. What is their sum?
- A)
- B)
- C)
- D)
- E)
- 15.2012 AMC 10B #10
How many ordered pairs of positive integers satisfy the equation
- A)
- B)
- C)
- D)
- E)
- 16.2011 AMC 10B #5
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 ?
- A)
- B)
- C)
- D)
- E)
- 17.2011 AMC 10A #10
A majority of the 30 students in Ms. Deameanor's class bought pencils at the school bookstore. Each of these students bought the same number of pencils, and this number was greater than 1. The cost of a pencil in cents was greater than the number of pencils each student bought, and the total cost of all the pencils was . What was the cost of a pencil in cents?
- A)
- B)
- C)
- D)
- E)
- 18.2010 AMC 10B #8
A ticket to a school play cost dollars, where is a whole number. A group of 9th graders buys tickets costing a total of , and a group of 10th graders buys tickets costing a total of . How many values for are possible?
- A)
- B)
- C)
- D)
- E)
- 19.2009 AMC 10B #6
Kiana has two older twin brothers. The product of their three ages is 128. What is the sum of their three ages?
- A)
- B)
- C)
- D)
- E)
- 20.2008 AMC 10A #9
Suppose that is an integer. Which of the following statements must be true about ?
- A)
- B)
- C)
- D)
- E)
Answers
| # | Answer | The idea it turns on |
|---|---|---|
| 1 | B | Using single digits, 30 can only be 5 × 6. Since 6 is now taken, 24 has to be 3 × 8, not 4 × 6. |
| 2 | A | 15! already contains three 5s and plenty of 2s, so it is a multiple of 1000. So is 20!, and so is their difference. |
| 3 | A | The divisors of 6 other than 6 are 1, 2 and 3, which add up to 6. So each step turns 6 back into 6. |
| 4 | E | Break 2001 into primes: 3, 23 and 29. To make the sum big, make two of the numbers as small as possible, 1 and 3. |
| 5 | B | The word is integers, so negatives are allowed. Two negative numbers keep the product positive but make the sum small: (−1)(−6)(10) = 60 with sum 3. |
| 6 | D | The divisors of 42 pair up so each pair multiplies to 42. Four pairs make N equal to 42 to the 4th power, which ends in 6. |
| 7 | B | The perimeter is smallest when the two sides are as close as possible. Since 2024 is one less than 45 squared, the sides 44 and 46 work. |
| 8 | B | Reversing N moves its first digit to the end. A multiple of 5 ends in 0 or 5, and N cannot start with 0, so N is in the 500s. |
| 9 | B | Every set of 10 holds one or two multiples of 7. There are 142 multiples in 100 sets, so 142 − 100 = 42 sets hold two. |
| 10 | B | 2021 = 43 times 47, so use exponents 46 and 42, the bigger one on 2. The number is 16 times 6 to the 42. |
| 11 | B | Cut a bench into 77 pieces: an adult uses 11 and a child 7, so each adult-child pair uses 18. So 77 times N must be a multiple of 18. |
| 12 | B | Horse k is at the start at multiples of k minutes. So T is the smallest number divisible by at least five of 1 to 10, which is 12. |
| 13 | C | Divisors come in pairs that multiply to N, so the fifth largest divisor is N divided by the fifth smallest. The smallest divisors are 1, 2, 4, 5, 8. |
| 14 | D | Relatively prime numbers share no prime, so all the 2s go in one number, all the 3s in another, all the 5s in the third: 8, 27, 125. |
| 15 | D | Cross-multiply to get M times N = 36. Every divisor of 36 chosen as M gives exactly one N, and 36 has 9 divisors. |
| 16 | E | Break 161 into factors: it is 7 times 23. The reversed number has two digits, so it was 23. That makes the real number 32 and the other number 7. |
| 17 | B | Factor 1771 cents as 7 × 11 × 23. A majority of 30 is 16 to 30 students, so 23 bought; each bought 7 pencils at 11 cents. |
| 18 | E | The ticket price must divide both 48 and 64 evenly. The prices that do are 1, 2, 4, 8 and 16, the numbers that divide 16. |
| 19 | D | The twins share an age, so 128 is Kiana's age times the twins' age twice. Try the few possible twin ages and keep the one where Kiana is younger. |
| 20 | B | Over a common bottom of 6 the expression becomes x over 2. So x must be even, and x = 2 shows it need not be a multiple of 3. |
Problems © Mathematical Association of America (MAA), American Mathematics Competitions. Reproduced for non-commercial educational use. The topic note, tags and key insights are original to this site.