What is the least positive integer such that is not a multiple of ?
- A)
- B)
- C)
- D)
- E)
Answer
C
Key insight
2025 is four 3s times two 5s. Count the 3s and 5s inside 2026!, then see how many sets of four 3s and two 5s fit.
Solution
A number divides only if has enough of each prime factor. So first find the primes inside , then count how many of each are inside .
1. Factor . Since and ,
Each copy of uses up four s and two s. So needs threes and fives.
- Warm up with a small factorial. How many s are in ? The multiples of are , and each gives one . But gives a second . So has threes. The rule: count the multiples of , then add the multiples of (one extra each), then the multiples of (one more extra each), and so on.
- Count the s in . Divide and drop the remainder each time.
| multiples of | ||||||
|---|---|---|---|---|---|---|
| how many up to |
The next power, , is bigger than , so we stop. The total is
- Count the s in .
| multiples of | ||||
|---|---|---|---|---|
| how many up to |
The total is fives.
5. Make sets. Each copy of needs four s and two s.
- From threes we can make groups of four, with threes left over.
- From fives we can make pairs, with five left over.
So copies of fit inside . A rd copy would need threes, and there are only . (It would also need fives, and there are only .)
- Answer the question that was asked. is a multiple of , so it is also a multiple of every smaller power . It is not a multiple of . So the least that fails is .
The answer is .
Why this works
Whether one number divides another is decided prime by prime: the bigger number must have at least as many of each prime. Inside a factorial, the multiples of each give one factor of , the multiples of give one more, and so on, which turns the count into a few quick divisions. When the divisor is a power of a number with several primes, count each prime and see which one runs out first. Here both run out at the same moment.
Alternative approach
There is a shortcut for step 3: instead of dividing by , , , and so on, keep dividing the last answer by and dropping the remainder:
Add everything after the first number: . This works because, for example, the multiples of up to are exactly every third multiple of .
The same chain for is , which adds to .
Then finish as before: and , so copies fit and the rd does not.
The trap
Finding that 252 copies of 2025 fit and answering 252. The question asks for the first power that does NOT divide, which is one more: 253.
Concise solution
, so divides exactly when has at least factors of and at least factors of .
The number of factors of in is , and the number of factors of is .
We need and , that is, both times. So divides and does not; the least that fails is .
The answer is .
Review in the AoPS books
- Introduction to Number Theory, Chapter 1: Integers: The Basics (§1.4, §1.5)
- Introduction to Number Theory, Chapter 2: Primes and Composites
- Introduction to Number Theory, Chapter 5: Divisor Problems (§5.2, §5.3)
- Introduction to Number Theory, Chapter 4: Prime Factorization (§4.2, §4.4)
Techniques
Set up the equation/formula and compute; no special trick needed