Ankita has to climb 5 stairs starting at the ground, while respecting the following rules:

1. At any stage, Ankita can move either one or two stairs up.

2. At any stage, Ankita cannot move to a lower step.

Let ๐น(๐‘) denote the number of possible ways in which Ankita can reach the ๐‘ ๐‘กโ„Ž stair. For example, ๐น(1) = 1, ๐น(2) = 2, ๐น(3) = 3.

The value of ๐น(5) is _______.ย 

1
8
2
7
3
6
4
5

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

๐ŸŒ Web App Development

Quick Navigation