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^{th}\) stair. For example, \(F(1) = 1\), \(F(2) = 2\), \(F(3) = 3\). The value of \(F(5)\) is \(\underline{\hspace{1cm}}\).
Step 1: Recognize the recurrence. At the \(N^{th}\) stair, Ankita can arrive either: - from the \((N-1)^{th}\) stair with a 1-step move, or - from the \((N-2)^{th}\) stair with a 2-step move. Thus, \[ F(N) = F(N-1) + F(N-2) \]
Step 2: Base cases. \[ F(1) = 1, \quad F(2) = 2 \]
Step 3: Compute step by step. \[ F(3) = F(2) + F(1) = 2 + 1 = 3 \] \[ F(4) = F(3) + F(2) = 3 + 2 = 5 \] \[ F(5) = F(4) + F(3) = 5 + 3 = 8 \]
Final Answer: \[ \boxed{8} \]
How many possible words can be created from the letters R, A, N, D (with repetition)?
Let R = {(1, 2), (2, 3), (3, 3)} be a relation defined on the set \( \{1, 2, 3, 4\} \). Then the minimum number of elements needed to be added in \( R \) so that \( R \) becomes an equivalence relation, is:}
A color model is shown in the figure with color codes: Yellow (Y), Magenta (M), Cyan (Cy), Red (R), Blue (Bl), Green (G), and Black (K). Which one of the following options displays the color codes that are consistent with the color model?