Mathematics (JEE)HardGATE CS

A staircase of 8 steps is climbed by taking 1, 2 or 3 steps at a time. How many different ways are there to reach the top?

  1. A. 81
  2. B. 44
  3. C. 24
  4. D. 13

Correct answer: A. 81

With t(n) = t(n−1) + t(n−2) + t(n−3), t(0) = 1, t(1) = 1, t(2) = 2: t(3) = 4, t(4) = 7, t(5) = 13, t(6) = 24, t(7) = 44, t(8) = 81. Option 44 is t(7), an off-by-one error.

More Permutations, Combinations and Probability questions

Exams that ask this topic