We have a 10 step staircase. One can climb up 1,2, or 3 ...
[Pages:2]We have a 10 step staircase. One can climb up 1,2, or 3 stairs at a time. How many ways are there to climb up the stairs?
The answer is on the next page.
1
We have a 10 step staircase. One can climb up 1,2, or 3 stairs at a time. How many ways are there to climb up the stairs? Let's let Nk denote the number of ways to climb k stairs in the manner described. (So we're looking for N10.) Notice that for k 4 there are 3 "moves" one can do for your first step: you can climb 1,2, or 3 stairs. If you climb 1 stair then there are Nk-1 ways to finish; if you climb 2 stairs there are Nk-2 ways to finish; and if you climb 3 stairs there are Nk-3 ways to finish. Thus:
Nk = Nk-1 + Nk-2 + Nk-3 Well, it's pretty easy to see that for the k < 4 we have N1 = 1, N2 = 2 and N3 = 4, so using the above we can calculate N10 using brute force.
N4 = N3 + N2 + N1 = 4 + 2 + 1 = 7 N5 = N4 + N3 + N2 = 7 + 4 + 2 = 13 N6 = N5 + N4 + N3 = 13 + 7 + 4 = 24 N7 = N6 + N5 + N4 = 24 + 13 + 7 = 44 N8 = N7 + N6 + N5 = 44 + 24 + 13 = 81 N9 = N8 + N7 + N6 = 81 + 44 + 24 = 149 N10 = N9 + N8 + N7 = 149 + 81 + 44 = 274 There are 274 ways to climb the stairs.
2
................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.
Related download
- god is always with us
- he s always there or thou god seest me
- billy james archambault son of the late leroy archambault
- and then there were none weebly
- frequently asked questions regarding texas home equity
- mom i need to be a girl university of michigan
- raisin in the sun quotations for writing the family
- opinion page 4 i never imagined he d die so young
- we have a 10 step staircase one can climb up 1 2 or 3
- com
Related searches
- when will we have a vaccine
- is 1 2 or 1 3 bigger
- we have a winner gif
- we have a winner image
- 2 or 3 letter words with q
- pick a number 1 2 or 3
- 1 2 exercise 3 ideal gas equation answer
- 1 or 3 2 0 5 784 784 10 run as administrator command prompt
- 1 or 3 2 0 5 310 310 10 run as administrator command prompt
- 1 or 3 2 0 5 393 393 10 run as administrator command prompt
- 1 or 3 2 0 5 570 570 10 run as administrator command prompt
- windows 10 1 or 3 2 0 5 854 854