denote the sum of all possible numbers of steps this staircase can have. What is the sum of the digits of ?
Cozy the Cat and Dash the Dog are going up a staircase with a certain number of steps. However, instead of walking up the steps one at a time, both Cozy and Dash jump. Cozy goes two steps up with each jump (though if necessary, he will just jump the last step). Dash goes five steps up with each jump (though if necessary, he will just jump the last steps if there are fewer than 5 steps left). Suppose that Dash takes 19 fewer jumps than Cozy to reach the top of the staircase. LetThis problem is from the AMC.This problem is part of this set .
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
Concepts involved: Step Function (no pun intended) and Pattern Recognition.
We first set variables for Cozy and Dash. They will be 2(x+19) and 5x respectively. The number of steps in the staircase will be y.
Thus we get the equation
We can solve this algebraically and get a solution of 12.66666... This number is a good indicator of around where x can be. Next a little simple arithmetic is required as we multiply 12.66 plus or minus 1 by 5. This gets a high and low of 69 and 63 respectively.
Next we plug and chug dividing all numbers from 63-69 by 2 and 5. If there is a decimal in place we round up.
Finally we see that 63,64 and 66 work. Their sum is 193. The sum of the digits of 193 is 13, our answer.
A few things to note:
1.) Plus or minus 1 was chosen as it works out with the step function. This allows the "middle" number to have its surroundings checked. In other words a step function is given one value for a range of 1.
2.) I really doubt that "plugging and chugging" is the fastest method to work it out from there. But it did take longer for me to type this all out than to do the problem. If anyone knows some shortcuts please do share! Step functions are really lacking on the internet.