Maths Olympiad Prep

Library / /6 of 9

Algebra Difficulty 4.3 AIME Prove it Japan

Two people, AA and BB, go up a staircase with a certain number of steps. AA goes up 2 steps in one stride, while BB goes up 5 steps in one stride, except if AA finds only 1 step before the last stride, then he will go up just 1 step to finish, and if BB finds 4 or less steps remaining before the last stride, then BB will go up whatever steps remaining to climb to finish. BB took 6 strides less than AA to finish climbing this staircase. Determine all possible numbers of steps for this staircase can have.

Solution

[19,20,21,22][19, 20, 21, 22]

Let nn be the number of steps in the staircase, aa and bb be the number of strides AA and BB have taken, respectively. Then, we have
ab=6,n2a<n2+1,n5b<n5+1. a - b = 6, \quad \frac{n}{2} \le a < \frac{n}{2} + 1, \quad \frac{n}{5} \le b < \frac{n}{5} + 1.
From these we obtain n2(n5+1)<ab<(n2+1)n5\frac{n}{2} - (\frac{n}{5} + 1) < a - b < (\frac{n}{2} + 1) - \frac{n}{5}, which yields 503<n<703\frac{50}{3} < n < \frac{70}{3}.

Thus the possibilities for nn are 17, 18, 19, 20, 21, 23, but since corresponding values of a,b,aba, b, a-b are as in the table below, we conclude that the answers we desire are n=19,20,21,22n = 19, 20, 21, 22.

| nn | 17 | 18 | 19 | 20 | 21 | 22 | 23 |
|-----|----|----|----|----|----|----|----|
| aa | 9 | 9 | 10 | 10 | 11 | 11 | 12 |
| bb | 4 | 4 | 4 | 4 | 5 | 5 | 5 |
| aba-b | 5 | 5 | 6 | 6 | 6 | 6 | 7 |

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 and solution reproduced as published; topic and difficulty added by this site.