
A flight of stairs has 10 steps. A person can go up the steps one at a time, two at a time or any combination of 1’s and 2’s. Find the total number of ways in which the person can go up the stairs.
Answer
442.2k+ views
1 likes
Hint: In this problem, we are given that a flight of stairs has 10 steps in which a person can go up the steps one at a time, two at a time or any combination of 1’s and 2’s, we have to find the total number of ways in which the person can go up the stairs. Here we can use factorial methods by calculating the single and double step one by one and we can add them to get the total number of ways in which the person can go up the stairs.
Complete step by step solution:
We are given that a flight of stairs has 10 steps in which a person can go up the steps one at a time, two at a time or any combination of 1’s and 2’s.
Here we have to find the total number of ways in which the person can go up the stairs.
As there are 10 steps, we have the following possibilities.
For 10 steps, we have 1.
We can now see, for 1 double step and 8 single steps, i.e. total of 9 steps, we have
For 2 double steps and 6 single steps, i.e. total of 8 steps, we have
Now we can assume 3 double steps and 4 single steps, i.e. total of 7 steps, we have
Now for 4 double steps and 2 single steps, i.e. total of 6 steps, we have
For 5 double steps, we have 1.
We can now add these possibilities, we get
Therefore, the total number of ways in which the person can go up the stairs is 89.
Note: We should always remember that a factorial is a function that multiplies a number by every number below it or to find the number of ways ‘n’ objects can be arranged. Here we can analyse the answer only after adding every possibility that we have got to get the final solution.
Complete step by step solution:
We are given that a flight of stairs has 10 steps in which a person can go up the steps one at a time, two at a time or any combination of 1’s and 2’s.
Here we have to find the total number of ways in which the person can go up the stairs.
As there are 10 steps, we have the following possibilities.
For 10 steps, we have 1.
We can now see, for 1 double step and 8 single steps, i.e. total of 9 steps, we have
For 2 double steps and 6 single steps, i.e. total of 8 steps, we have
Now we can assume 3 double steps and 4 single steps, i.e. total of 7 steps, we have
Now for 4 double steps and 2 single steps, i.e. total of 6 steps, we have
For 5 double steps, we have 1.
We can now add these possibilities, we get
Therefore, the total number of ways in which the person can go up the stairs is 89.
Note: We should always remember that a factorial is a function that multiplies a number by every number below it or to find the number of ways ‘n’ objects can be arranged. Here we can analyse the answer only after adding every possibility that we have got to get the final solution.
Latest Vedantu courses for you
Grade 11 Science PCM | CBSE | SCHOOL | English
CBSE (2025-26)
School Full course for CBSE students
₹41,848 per year
Recently Updated Pages
Master Class 12 Business Studies: Engaging Questions & Answers for Success

Master Class 12 Economics: Engaging Questions & Answers for Success

Master Class 12 Maths: Engaging Questions & Answers for Success

Master Class 12 Biology: Engaging Questions & Answers for Success

Master Class 12 Physics: Engaging Questions & Answers for Success

Master Class 12 English: Engaging Questions & Answers for Success

Trending doubts
Father of Indian ecology is a Prof R Misra b GS Puri class 12 biology CBSE

Who is considered as the Father of Ecology in India class 12 biology CBSE

Enzymes with heme as prosthetic group are a Catalase class 12 biology CBSE

A deep narrow valley with steep sides formed as a result class 12 biology CBSE

An example of ex situ conservation is a Sacred grove class 12 biology CBSE

Why is insulin not administered orally to a diabetic class 12 biology CBSE
