2000 AIME II Problem 14

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

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

14.

Every positive integer kk has a unique factorial base expansion (f1,f2,f3,,fm),(f_1, f_2, f_3, \ldots, f_m), meaning that k=1!f1+2!f2k = 1! \cdot f_1 + 2! \cdot f_2 +3!f3++m!fm,+ 3! \cdot f_3 + \cdots + m! \cdot f_m, where each fif_i is an integer, 0fii,0 \le f_i \le i, and 0<fm.0 \lt f_m. Given that (f1,f2,f3,,fj)(f_1, f_2, f_3, \ldots, f_j) is the factorial base expansion of 16!32!+48!64!++1968!1984!+2000!, \begin{aligned} &16! - 32! + 48! \\ &\quad {}- 64! + \cdots + 1968! \\ &\quad {}- 1984! + 2000!, \end{aligned} find the value of f1f2+f3f_1 - f_2 + f_3 f4++(1)j+1fj.- f_4 + \cdots + (-1)^{j+1} f_j.

Answer: 495
Concepts:number basefactorialtelescoping
Difficulty rating: 3060
Solution:

Since (i+1)!i!=ii!,(i+1)! - i! = i \cdot i!, telescoping gives a!b!=i=ba1ii!a! - b! = \sum_{i=b}^{a-1} i \cdot i! for a>b.a \gt b. Group the given number as 16!+(48!32!)+(80!64!)++(2000!1984!), \begin{aligned} &16! + (48! - 32!) + (80! - 64!) \\ &\quad {}+ \cdots + (2000! - 1984!), \end{aligned} with 6262 parenthesized groups (32j+16)!(32j)!(32j + 16)! - (32j)! for j=1,,62.j = 1, \ldots, 62.

The group for jj contributes factorial-base digits fi=if_i = i for 32ji32j+15,32j \le i \le 32j + 15, and the lone 16!16! contributes f16=1;f_{16} = 1; all other digits are 0.0. Every digit satisfies 0fii,0 \le f_i \le i, so by uniqueness this is the factorial base expansion.

In the alternating sum, f16=1f_{16} = 1 sits at an even index and contributes 1.-1. Each group's range starts at an even index and has length 16,16, so it splits into 88 consecutive pairs, each contributing i+(i+1)=1,-i + (i + 1) = 1, for +8+8 per group. The total is 6281=495.62 \cdot 8 - 1 = 495.

← Problem 13#13
Full Exam

Problem 14 in Other Years