Divisibility & Factors
Divisors, number/sum of divisors, factorization, divisibility rules
Divisibility & FactorsAMC 10 Step by Step
Name: Date: October 28, 2026
Number Theory · 52 problems have this as their main idea
52
primary-topic problems (4.0% of all)
47
more as a secondary topic
Where it appears
21
P1-10
9
P11-15
11
P16-20
11
P21-25
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)
Problems, easiest first
Open any of them to try it here; the worked solution is on the problem's own page.