Skip to main content

2010 AIME II Problem 3

Problem 3 of 15EasierNumber TheoryCombinatorics

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.

Your answer

Integer from 0 to 999
Show solution

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.
AoPS wiki

Tagged: prime factorization · counting pairs

More practice