Q. A cat is going up a stair well with sixteen stairs. However, instead of walking up the stairs one at a time, the cat jumps, going either two or three stairs up at each step (though if necessary, it will just walk that last step). Find the number different ways in which the cat can go from bottom to the top.

 207  94 Permutations and Combinations Report Error

Answer: 65

Solution:

Case I: When cat takes the last step as 1 Let be the number of times she jumps 2 units Let number of times she jumps 3 units




Total in this cases
Case II: When she does not take the last step as unity

image
Hence, total