2010 AIME II Problem 3

Attempt Problem 3 of the 2010 AIME II below, then check your answer against the professionally curated solution from LIVE by Po-Shen Loh. You can also try the full timed exam, view all 2010 AIME II solutions, or check the answer key.

All problems are used with official legal permission of the Mathematical Association of America (MAA).

3.

Let KK be the product of all factors (b−a)(b - a) (not necessarily distinct) where aa and bb are integers satisfying 1≤a<b≤20.1 \le a \lt b \le 20. Find the greatest positive integer nn such that 2n2^n divides K.K.
Answer: 150
Concepts:prime factorizationcounting pairs
Small hint:
The difference v=b−av = b - a takes each value 1,2,…,19,1, 2, \ldots, 19, occurring exactly 20−v20 - v times
Big hint:
Add (20−v)(20 - v) times the exponent of 22 in v,v, over even v=2,4,…,18v = 2, 4, \ldots, 18
Solution:
For each value v=b−a,v = b - a, the pairs (a,b)=(1,v+1),(a, b) = (1, v+1), (2,v+2),(2, v+2), …,\ldots, (20−v,20)(20-v, 20) show that vv occurs exactly 20−v20 - v times, so K=∏v=119v20−v.K = \prod_{v=1}^{19} v^{20-v}. The exponent of 22 in KK is therefore ∑v(20−v) e(v),\sum_v (20 - v)\,e(v), where e(v)e(v) is the exponent of 22 in v.v.
Only even vv contribute: v=2,6,10,14,18v = 2, 6, 10, 14, 18 give e=1;e = 1; v=4,12v = 4, 12 give e=2;e = 2; v=8v = 8 gives e=3;e = 3; and v=16v = 16 gives e=4.e = 4. The total is 18+16⋅2+14+12⋅3+10+8⋅2+6+4⋅4+2=150, \begin{aligned} &18 + 16 \cdot 2 + 14 + 12 \cdot 3 \\ &\quad {}+ 10 + 8 \cdot 2 + 6 + 4 \cdot 4 + 2 \\ &= 150, \end{aligned} so n=150.n = 150.
LIVE by Po-Shen Loh
Programs

LIVE Classes

Self-Paced Classes

Stars

Scholarship

About Us

Who Is Po-Shen Loh?

Email Contact

Newsletter

Jobs

Become a Star

For a more Thought Full world.

© 2026 Expii, Inc.