recategorized by
0 0 votes

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 $F(N)$ denote the number of possible ways in which Ankita can reach the $N^{\text {th }}$ stair. For example, $F(1)=1, F(2)=2, F(3)=3$.

The value of $F(5)$ is

  1. $8$
  2. $7$
  3. $6$
  4. $5$

 

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.