Maths Olympiad Prep

Library / /47 of 71

Combinatorics Difficulty 5.3 AIME, harder Find the answer United States

Problem:

Maria is hopping up a flight of stairs with 100 steps. At every hop, she advances some integer number of steps. Each hop she makes has fewer steps. However, the positive difference between the length of consecutive hops decreases. Let PP be the number of distinct ways she can hop up the stairs. Find lower and upper bounds LL and UU for PP. If 0<LPU0<L \leq P \leq U, your score will be 23U/L\left\lfloor\frac{23}{\sqrt{U / L}}\right\rfloor. Otherwise, your score will be 0.

A number or a short expression. Fractions can be typed as 3/2, and spacing doesn't matter.

Solution

Solution:

Answer: 6922

Consider the sequence of hops backwards. It is an increasing sequence where the first finite differences are increasing, so all the second finite differences are all positive integers. Furthermore, given positive integers a,e0a, e_{0} (representing the initial value and initial first finite difference), and a sequence of positive integers e1,e2,,eke_{1}, e_{2}, \ldots, e_{k}, representing the second finite differences, we obtain a sequence of k+2k+2 integers satisfying our constraints where the ii-th term is equal to a+j=0i2(ij1)eja+\sum_{j=0}^{i-2}(i-j-1) e_{j}. The sum of these values is equal to (k+2)a+j=0k(j+1)(j+2)2ekj(k+2) a+\sum_{j=0}^{k} \frac{(j+1)(j+2)}{2} e_{k-j}. The number of sequences of length k+2k+2 with sum 100 is then the number of positive integer solutions to (k+2)a+j=0k(j+1)(j+2)2ekj=100(k+2) a+\sum_{j=0}^{k} \frac{(j+1)(j+2)}{2} e_{k-j}= 100 in a,e0,,eka, e_{0}, \ldots, e_{k}.

We can now approximate a count of the total number of solutions by caseworking over the possible values of kk. First, we must consider all sequences of length 1 or 2; it is easy to see that there are 1 and 49 of these, respectively. Otherwise, we want to consider the following equations:
x1+3x2+3x3=100,x1+4x2+3x3+6x4=100,x1+5x2+3x3+6x4+10x5=100,x1+6x2+3x3+6x4+10x5+15x6=100,x1+7x2+3x3+6x4+10x5+15x6+21x7=100,x1+8x2+3x3+6x4+10x5+15x6+21x7+28x8=100. \begin{aligned} x_{1}+3 x_{2}+3 x_{3} & =100, \\ x_{1}+4 x_{2}+3 x_{3}+6 x_{4} & =100, \\ x_{1}+5 x_{2}+3 x_{3}+6 x_{4}+10 x_{5} & =100, \\ x_{1}+6 x_{2}+3 x_{3}+6 x_{4}+10 x_{5}+15 x_{6} & =100, \\ x_{1}+7 x_{2}+3 x_{3}+6 x_{4}+10 x_{5}+15 x_{6}+21 x_{7} & =100, \\ x_{1}+8 x_{2}+3 x_{3}+6 x_{4}+10 x_{5}+15 x_{6}+21 x_{7}+28 x_{8} & =100 . \end{aligned}
(Any larger values of kk will yield equations with no solutions, as the sum of the coefficients will be greater than 100 in all of these.) We can compute the number of solutions to the last equation easily: there are 8. For the remaining 5 equations, we can use the following observation to estimate the number of solutions. Suppose we wanted to count the number of positive integer solutions to
i=1kcixi=n\sum_{i=1}^{k} c_{i} x_{i}=n, where ci=1c_{i}=1. This is equivalent to finding the number of nonnegative integer solutions to i=1kcixi=ni=1kci\sum_{i=1}^{k} c_{i} x_{i}=n-\sum_{i=1}^{k} c_{i}, which is also equivalent to finding the number of nonnegative integer solutions to i=2kcixini=1kci\sum_{i=2}^{k} c_{i} x_{i} \leq n-\sum_{i=1}^{k} c_{i}. Let n=ni=1kcin^{\prime}=n-\sum_{i=1}^{k} c_{i}. Each xix_{i} can take values from 0 to nci\frac{n^{\prime}}{c_{i}}, giving about (n)k1i=2kci\frac{\left(n^{\prime}\right)^{k-1}}{\prod_{i=2}^{k} c_{i}} choices. Of course, not all of these choices work; we try to estimate the probability that one does. We can think of a random selection of xix_{i} as approximated by choosing XiX_{i} uniformly from [0,1][0,1], then setting xi=Xincix_{i}=X_{i} \cdot \frac{n^{\prime}}{c_{i}}. The condition would then be i=2kXk1\sum_{i=2}^{k} X_{k} \leq 1. The probability of this occurring is 1(k1)!\frac{1}{(k-1)!}, so an approximate number of solutions would be (n)k1(k1)!i=2kci\frac{\left(n^{\prime}\right)^{k-1}}{(k-1)!\prod_{i=2}^{k} c_{i}}. We can use these values to get a lower bound of around 4000, and we can also use nn instead of nn^{\prime\prime} for a reasonable upper bound of 16000.

Want a route through all this instead of an archive? The track puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.

Source: MathNet, licensed CC-BY-4.0. Statement reproduced verbatim; metadata (topic, difficulty) added by this project.