返回题库

AIME 2000 II · 第 14 题

AIME 2000 II — Problem 14

专题
Contest Math
难度
L4
来源
AIME

题目详情

Problem

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!f2+3!f3++m!fmk=1!\cdot f_1+2!\cdot f_2+3!\cdot f_3+\cdots+m!\cdot f_m, where each fif_i is an integer, 0fii0\le f_i\le i, and 0.Giventhat0. Given that(f_1,f_2,f_3,\ldots,f_j)isthefactorialbaseexpansionofis the factorial base expansion of16!-32!+48!-64!+\cdots+1968!-1984!+2000!,findthevalueof, find the value off_1-f_2+f_3-f_4+\cdots+(-1)^{j+1}f_j$.

解析

Solution

Solution 1

Note that 1+k=1n1kk!=1+k=1n1((k+1)k!k!)=1+k=1n1((k+1)!k!)1+\sum_{k=1}^{n-1} {k\cdot k!} = 1+\sum_{k=1}^{n-1} {((k+1) \cdot k!- k!)} = 1+\sum_{k=1}^{n-1} {((k+1)!- k!)}

=1+((2!1!)+(3!2!)++(n!(n1)!))=n!= 1 + ((2! - 1!) + (3! - 2!) + \cdots + (n! - (n-1)!)) = n!.

Thus for all mNm\in\mathbb{N},

(32m+16)!(32m)!=(1+k=132m+15kk!)(1+k=132m1kk!)=k=32m32m+15kk!.(32m+16)!-(32m)! = \left(1+\sum_{k=1}^{32m+15} {k\cdot k!}\right)-\left(1+\sum_{k=1}^{32m-1} {k\cdot k!}\right) = \sum_{k=32m}^{32m+15}k\cdot k!.

So now,

16!32!+48!64!++1968!1984!+2000!=16!+(48!32!)+(80!64!)+(2000!1984!)=16!+m=162((32m+16)!(32m)!)=16!+m=162k=32m32m+15kk!\begin{aligned} 16!-32!+48!-64!+\cdots+1968!-1984!+2000!&=16!+(48!-32!)+(80!-64!)\cdots+(2000!-1984!)\\ &=16! +\sum_{m=1}^{62}\left((32m+16)!-(32m)!\right)\\ &=16! +\sum_{m=1}^{62}\sum_{k=32m}^{32m+15}k\cdot k! \end{aligned} Therefore we have f16=1f_{16} = 1, fk=kf_k=k if 32mk32m+1532m\le k \le 32m+15 for some m=1,2,,62m=1,2,\ldots,62, and fk=0f_k = 0 for all other kk.

Therefore we have:

f1f2+f3f4++(1)j+1fj=(1)171+m=162k=32m32m+15(1)k+1k=1+m=162[j=16m16m+7(1)2j+12j+j=16m16m+7(1)2j+2(2j+1)]=1+m=162j=16m16m+7[(1)2j+12j+(1)2j+2(2j+1)]=1+m=162j=16m16m+7[2j+(2j+1)]=1+m=162j=16m16m+71=1+m=1628=1+862=495.\begin{aligned} f_1-f_2+f_3-f_4+\cdots+(-1)^{j+1}f_j &= (-1)^{17}\cdot 1 + \sum_{m=1}^{62}\sum_{k=32m}^{32m+15}(-1)^{k+1}k\\ &= -1 + \sum_{m=1}^{62}\left[\sum_{j=16m}^{16m+7}(-1)^{2j+1}2j+\sum_{j=16m}^{16m+7}(-1)^{2j+2}(2j+1)\right]\\ &= -1 + \sum_{m=1}^{62}\sum_{j=16m}^{16m+7}[(-1)^{2j+1}2j+(-1)^{2j+2}(2j+1)]\\ &= -1 + \sum_{m=1}^{62}\sum_{j=16m}^{16m+7}[-2j+(2j+1)]\\ &= -1 + \sum_{m=1}^{62}\sum_{j=16m}^{16m+7}1\\ &= -1 + \sum_{m=1}^{62}8\\ &= -1 + 8\cdot 62\\ &= \boxed{495}. \end{aligned}

Solution 2 (informal)

This is equivalent to Solution 1. I put up this solution merely for learners to see the intuition.

Let us consider a base nn number system. It’s a well known fact that when we take the difference of two integral powers of nn, (such as 10000101001010000_{10} - 100_{10}) the result will be an integer in base nn composed only of the digits n1n - 1 and 00 (in this example, 99009900). More specifically, the difference (nk)n(nj)n(n^k)_n - (n^j)_n, j,isanintegerj , is an integerkdigitslong(notethatdigits long (note that(n^k)_nhashask + 1digits).Thisintegerismadeupofdigits). This integer is made up of(k-j)(n1)(n - 1)’s followed byjj0$’s.

It should make sense that this fact carries over to the factorial base, albeit with a modification. Whereas in the general base nn, the largest digit value is n1n - 1, in the factorial base, the largest digit value is the argument of the factorial in that place. (for example, 321!321_! is a valid factorial base number, as is 3210!3210_!. However, 31!31_! is not, as 33 is greater than the argument of the second place factorial, 22. 31!31_! should be represented as 101!101_!, and is 7107_{10}.) Therefore, for example, 1000000!10000!1000000_! - 10000_! is not 990000!990000_!, but rather is 650000!650000_!. Thus, we may add or subtract factorials quite easily by converting each factorial to its factorial base expression, with a 11 in the argument of the factorial’s place and 00’s everywhere else, and then using a standard carry/borrow system accounting for the place value.

With general intuition about the factorial base system out of the way, we may tackle the problem. We use the associative property of addition to regroup the terms as follows: (2000!1984!)+(1968!1952!)++(48!32!)+16!(2000! - 1984!) + (1968! - 1952!) + \cdots + (48! - 32!) + 16! we now apply our intuition from paragraph 2. 2000!102000!_{10} is equivalent to 11 followed by 19991999 00’s in the factorial base, and 1984!1984! is 11 followed by 19831983 00’s, and so on. Therefore, 2000!1984!=(1999)(1998)(1997)(1984)2000! - 1984! = (1999)(1998)(1997)\cdots(1984) followed by 19831983 00’s in the factorial base. 1968!1952!=(1967)(1966)(1952)1968! - 1952! = (1967)(1966)\cdots(1952) followed by 19511951 00’s, and so on for the rest of the terms, except 16!16!, which will merely have a 11 in the 16!16! place followed by 00’s. To add these numbers, no carrying will be necessary, because there is only one non-zero value for each place value in the sum. Therefore, the factorial base place value fkf_k is kk for all 32mk32m+1532m \leq k \leq 32m+15 if 1mZ621\leq m \in\mathbb{Z} \leq 62, f16=1f_{16} = 1, and fk=0f_k = 0 for all other kk.

Therefore, to answer, we notice that 19991998=19971996=11999 - 1998 = 1997 - 1996 = 1, and this will continue. Therefore, f1999f1998+f1984=8f_{1999} - f_{1998} + \cdots - f_{1984} = 8. We have 62 sets that sum like this, and each contains 88 pairs of elements that sum to 11, so our answer is almost 8628 \cdot 62. However, we must subtract the 11 in the f16f_{16} place, and our answer is 8621=4958 \cdot 62 - 1 = \boxed{495}.

Solution 3 (less formality)

Let S=16!32!+1984!+2000!S = 16!-32!+\cdots-1984!+2000!. Note that since S2000!<<2000!|S - 2000!| << 2000! (or S2000!=1984!+|S - 2000!| = 1984! + \cdots is significantly smaller than 2000!2000!), it follows that 1999!<S<2000!1999! < S < 2000!. Hence f2000=0f_{2000} = 0. Then 2000!=20001999!=19991999!+1999!2000! = 2000 \cdot 1999! = 1999 \cdot 1999! + 1999!, and as S2000!<<1999!S - 2000! << 1999!, it follows that 19991999!<S<20001999!1999 \cdot 1999! < S < 2000 \cdot 1999!. Hence f1999=1999f_{1999} = 1999, and we now need to find the factorial base expansion of

S2=S19991999!=1999!1984!+1962!1946!++16!S_2 = S - 1999 \cdot 1999! = 1999! - 1984! + 1962! - 1946! + \cdots + 16! Since S21999!<<1999!|S_2 - 1999!| << 1999!, we can repeat the above argument recursively to yield f1998=1998f_{1998} = 1998, and so forth down to f1985=1985f_{1985} = 1985. Now S16=1985!1984!+1962!+=19841984!+1962!+S_{16} = 1985! - 1984! + 1962! + \cdots = 1984 \cdot 1984! + 1962! + \cdots, so f1984=1984f_{1984} = 1984.

The remaining sum is now just 1962!1946!++16!1962! - 1946! + \cdots + 16!. We can repeatedly apply the argument from the previous two paragraphs to find that f16=1f_{16} = 1, and fk=kf_k=k if 32mk32m+1532m\le k \le 32m+15 for some m=1,2,,62m=1,2,\ldots,62, and fk=0f_k = 0 for all other kk.

Now for each mm, we have f32m+f32m+1f32m+2++f32m+31-f_{32m} + f_{32m+1} - f_{32m+2} + \cdots + f_{32m + 31} =32m+(32m+1)(32m+2)+(32m30)+(32m+31)= -32m + (32m + 1) - (32m + 2) + \cdots - (32m - 30) + (32 m + 31) =1+1++1+1= 1 + 1 + \cdots + 1 + 1 =8= 8. Thus, our answer is f16+862=495-f_{16} + 8 \cdot 62 = \boxed{495}.

Solution 4 (my brain can't comprehend the other solutions)

First consider how we would express 48!32!48!-32!. We can't use any multiples of 48!48!, since we'll never be able to make the 32!-32!. Instead, we have to start with using 47!47!s. Having 4747!47\cdot47! is the closest we can get to 48!48!, since 48!=4847!48! = 48\cdot 47!. Thus, f47=47f_{47}=47.

Now consider what we have left to express. We wanted to express 48!32!48!-32!, and now we have 4747!47\cdot 47!. This gives us 47!32!47!-32! left. Clearly, we can't use anymore 47!47!s, so we have to use 46!46!s. The most 46!46!s we could use is 4646 of them. Thus, f46=46f_{46}=46. Since 47!=4746!47!=47\cdot 46!, we are left with 46!32!46!-32! to express. Clearly, each time, we have fn=nf_n = n, leaving us with n!32!n!-32! to express.

Eventually, we will get down to needing to express 34!32!34!-32!. We will need 3333 33!33!s, leaving 33!32!33!-32! to be expressed. Since 33!=3332!33!=33\cdot 32!, 33!32!=3232!33!-32! = 32\cdot 32!. Thus, 48!32!48!-32! can be expressed as i=3247i(i!)\sum_{i=32}^{47} i\cdot (i!).

Returning to the problem, notice we can break the expression into groups of 22, having 16!+(48!32!)+(80!64!)+...(2000!1984!)16!+(48!-32!)+(80!-64!)+...(2000!-1984!). Each pair has an alternating sum of 88, and since there are 6262 pairs, the sum is 496496. Including the 16!16! at the start, which accounts for 1-1, we get 495\boxed{495}.

-skibbysiggy

Solution 5 (Much simpler than the other solutions [besides 4])

Let's solve 3!5!3! - 5! without numerically solving each. What do we know about number theory? Well, one way to rewrite a subtraction aa from bb given a>ba > b is to borrow from aa, add it to bb, and subtract aa as a result. More formally, if ba:a>b(b+a)2ab - a : a > b \rightarrow (b + a) - 2a.

How does this apply to factorials? Well, say we borrow from the next highest factorial, that is, if we have b!a!b! - a! where a>ba > b, then we can borrow once from (b+1)!(b+1)! to obtain b+1b+1 copies of b!b! (which is exactly (b+1)!(b+1)! if you are wondering), and we subtract (b+1)!(b+1)! as a result. So, for our case 3!5!3! - 5!, we can rewrite as 3!(5)(4)3!3! - (5)(4)3!, or 3!203!3! - 20 \cdot 3!, or 193!-19 \cdot 3!. We have the constraint however that K=f1(1!)+f2(2!)+...+fn(n!)K = f_1(1!) + f_2(2!) + ... + f_n(n!) where 0fnn0 \le f_n \le n. However, our case swaps the sign of KK, giving us 0fnn0 \ge -f_n \ge -n. So, we borrow once from 4!4!, giving us 4 copies of 3!3!, and ultimately resulting in (19+4)3!14!(-19 + 4)3! - 1 \cdot 4!. The result 19+4=15-19 + 4 = -15 is still negative. To compensate, we take 1 copy of 5!5! to donate to 4!4!, which then we can donate the new copies of 4!4! to 3!3!. So, giving one copy of 5!5! to 4!4! gives us 5 copies of 4!4!, so we have (15)3!+(1+5)4!=(15)3!+4(4!)(-15)3! + (-1 + 5)4! = (-15)3! + 4(4!), in which 44!4 \cdot 4! has 16 copies of 3!3! (as 43!=4!4 \cdot 3! = 4!). Then, we have (15+16)3!+44!15!(-15 + 16)3! + 4 \cdot 4! - 1 \cdot 5!, with a final answer of 3!+44!15!3! + 4 \cdot 4! - 1 \cdot 5!, where (f3,f4,f5)=(1,4,1)(f_3, f_4, f_5) = (1, 4, -1) before normalization (note that -1 is allowed for f5f_5 as the expression itself is negative. For all positive KK, the inequality must hold). This gives us an idea of what to do for the problem.

Consider n!(n+16)!n! - (n+16)!. We must borrow 1 copy from (n+1)!(n+1)!, which then results in borrowing 2 copies from (n+2)!(n+2)!, which then results in borrowing 3 copies from (n+3)!(n+3)!, and so on so forth until we borrow 15 copies from (n+15)!(n+15)!, and 16 copies from (n+16)!(n+16)!. Additionally, the number of copies we borrow from each factorial correspond to the fnf_n power (We already proved that fnf_n is determined by the explicit values of the remaining factorial expansion. However, as homework, try to see how each fnf_n corresponds to the number of copies borrowed). Thus, we have f1f2+f3,...,+f15f16=12+34+...+1516=8f_1 - f_2 + f_3, ..., + f_{15} - f_{16} = 1 - 2 + 3 - 4 + ... + 15 - 16 = -8. This means that each n!(n+16)!n! - (n+16)! pair contributes -8 to the count. So, it becomes clear that every (n+16)!n!(n+16)! - n! pair contributes 8 to the count. Thus, we can pair each term as 16!+(48!32!)+(...)+(2000!1984!)16! + (48! - 32!) + (...) + (2000! - 1984!). There are 62 of the (n+16)!n!(n+16)! - n! pairs, and thus we see that a total alternating sum of 496 arises. However, we have one last case, that is, 16!16!. We borrow 0 copies of n!n!, because 1 copy of n!n! is already present! Thus, the remaining (1)n(fn)(-1)^n (f_n) is nothing but (1)125(1)=1(-1)^{125}(1) = -1 (there are a total of 125 terms, and 16! is the 125th), and so our final sum is 4961=495496 - 1 = \boxed{495}.

~Pinotation