AMC 10 Step by Step

2026 AMC 10B Problem 18

P16-20~4 minPrint

What is the least positive integer nn such that 2026!2026! is not a multiple of 2025n2025^n ?

Log in to save your progress.
Show solution without answering

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 2026!2026! only if 2026!2026! has enough of each prime factor. So first find the primes inside 20252025, then count how many of each are inside 2026!2026!.

1. Factor 20252025. Since 2025=4522025 = 45^2 and 45=32⋅545 = 3^2 \cdot 5,
2025=34⋅52.2025 = 3^4 \cdot 5^2.
Each copy of 20252025 uses up four 33s and two 55s. So 2025n2025^n needs 4n4n threes and 2n2n fives.

  1. Warm up with a small factorial. How many 33s are in 10!=1⋅2⋅3⋯1010! = 1 \cdot 2 \cdot 3 \cdots 10? The multiples of 33 are 3,6,93, 6, 9, and each gives one 33. But 9=3⋅39 = 3 \cdot 3 gives a second 33. So 10!10! has 3+1=43 + 1 = 4 threes. The rule: count the multiples of 33, then add the multiples of 99 (one extra 33 each), then the multiples of 2727 (one more extra each), and so on.
  1. Count the 33s in 2026!2026!. Divide and drop the remainder each time.
multiples of339927278181243243729729
how many up to 20262026675675225225757525258822

The next power, 21872187, is bigger than 20262026, so we stop. The total is
675+225+75+25+8+2=1010 threes.675 + 225 + 75 + 25 + 8 + 2 = 1010 \text{ threes.}

  1. Count the 55s in 2026!2026!.
multiples of552525125125625625
how many up to 202620264054058181161633

The total is 405+81+16+3=505405 + 81 + 16 + 3 = 505 fives.

5. Make sets. Each copy of 20252025 needs four 33s and two 55s.
- From 10101010 threes we can make 1010÷4=2521010 \div 4 = 252 groups of four, with 22 threes left over.
- From 505505 fives we can make 505÷2=252505 \div 2 = 252 pairs, with 11 five left over.

So 252252 copies of 20252025 fit inside 2026!2026!. A 253253rd copy would need 4⋅253=10124 \cdot 253 = 1012 threes, and there are only 10101010. (It would also need 506506 fives, and there are only 505505.)

  1. Answer the question that was asked. 2026!2026! is a multiple of 20252522025^{252}, so it is also a multiple of every smaller power 20251,20252,…,20252512025^1, 2025^2, \ldots, 2025^{251}. It is not a multiple of 20252532025^{253}. So the least nn that fails is 253253.

The answer is (C) 253\boxed{\textbf{(C)}\ 253}.

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 pp each give one factor of pp, the multiples of p2p^2 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 20262026 by 33, 99, 2727, and so on, keep dividing the last answer by 33 and dropping the remainder:
2026→675→225→75→25→8→2→0.2026 \to 675 \to 225 \to 75 \to 25 \to 8 \to 2 \to 0.
Add everything after the first number: 675+225+75+25+8+2=1010675 + 225 + 75 + 25 + 8 + 2 = 1010. This works because, for example, the multiples of 99 up to 20262026 are exactly every third multiple of 33.

The same chain for 55 is 2026→405→81→16→3→02026 \to 405 \to 81 \to 16 \to 3 \to 0, which adds to 505505.

Then finish as before: 1010=4⋅252+21010 = 4 \cdot 252 + 2 and 505=2⋅252+1505 = 2 \cdot 252 + 1, so 252252 copies fit and the 253253rd does not.

Concise solution

A shorter write-up, the way contest solutions are usually written. It may take a different route from the solution above.

2025=34⋅522025 = 3^4 \cdot 5^2, so 2025n2025^n divides 2026!2026! exactly when 2026!2026! has at least 4n4n factors of 33 and at least 2n2n factors of 55.

The number of factors of 33 in 2026!2026! is 675+225+75+25+8+2=1010675 + 225 + 75 + 25 + 8 + 2 = 1010, and the number of factors of 55 is 405+81+16+3=505405 + 81 + 16 + 3 = 505.

We need 4n≤10104n \le 1010 and 2n≤5052n \le 505, that is, n≤252n \le 252 both times. So 20252522025^{252} divides 2026!2026! and 20252532025^{253} does not; the least nn that fails is 253253.

The answer is (C) 253\boxed{\textbf{(C)}\ 253}.

Review in the AoPS books

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.