Ask Question
29 May, 22:49

You are climbing a stair case. It takes n steps to reach to the top. Each time you can either climb 1 or 2 steps. In how many distinct ways can you climb to the top?

+5
Answers (1)
  1. 29 May, 22:53
    0
    (n^2 + n) / 2 ways

    Explanation:

    Each time you can climb 1 or 2 steps to the top (n steps)

    Number of ways climbing 1 step to the top = n combination 1 = n! / (n-1) 1! = n (n-1) ! / (n-1) ! = n

    Number of ways climbing 2 steps to the top = n combination 2 = n! / (n-2) !2! = n (n-1) (n-2) !/2 (n-2) ! = (n^2 - n) / 2

    Total number of ways = n + (n^2 - n) / 2 = (2n + n^2 - n) / 2 = (n^2 + n) / 2 ways
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “You are climbing a stair case. It takes n steps to reach to the top. Each time you can either climb 1 or 2 steps. In how many distinct ways ...” in 📗 Business if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers