2009 AIME II Problem 7

Attempt Problem 7 of the 2009 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 2009 AIME II solutions, or check the answer key.

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

7.

Define n!!n!! to be n(n2)(n4)31n(n-2)(n-4)\cdots 3 \cdot 1 for nn odd and n(n2)(n4)42n(n-2)(n-4)\cdots 4 \cdot 2 for nn even. When i=12009(2i1)!!(2i)!!\sum_{i=1}^{2009} \frac{(2i-1)!!}{(2i)!!} is expressed as a fraction in lowest terms, its denominator is 2ab2^a b with bb odd. Find ab10.\frac{ab}{10}.

Answer: 401
Concepts:factorialLegendre’s Formuladivisibility
Difficulty rating: 2840
Solution:

The iith term is (2i1)!!(2i)!!\frac{(2i-1)!!}{(2i)!!} with odd numerator, and (2i)!!=2ii!.(2i)!! = 2^i \cdot i!. Because (2ii)=(2i)!i!i!=2i(2i1)!!i!\binom{2i}{i} = \frac{(2i)!}{i!\,i!} = \frac{2^i (2i-1)!!}{i!} is an integer, every odd prime power dividing i!i! also divides (2i1)!!.(2i-1)!!. Hence in lowest terms the iith term has denominator exactly 2ai2^{a_i} where ai=i+eia_i = i + e_i and eie_i is the exponent of 22 in i!.i!. The aia_i strictly increase, so over the common denominator 2a20092^{a_{2009}} every term except the last contributes an even numerator while the last contributes an odd one. The sum in lowest terms therefore has denominator exactly 2a2009,2^{a_{2009}}, so b=1.b = 1.

By Legendre's formula, e2009=1004+502+251+125+62+31+15+7+3+1=2001, \begin{aligned} e_{2009} &= 1004 + 502 + 251 \\ &\quad {}+ 125 + 62 + 31 + 15 \\ &\quad {}+ 7 + 3 + 1 \\ &= 2001, \end{aligned} so a=2009+2001=4010.a = 2009 + 2001 = 4010. Then ab10=4010110=401.\frac{ab}{10} = \frac{4010 \cdot 1}{10} = 401.

← Problem 6#6
Full Exam

Problem 7 in Other Years