Recurrence Relations · Recursive Definitions
Lesson 3
Problem. Let \(S(n)\) be the number of ways to climb \(n\) steps, where each move is either a step to the next step or a jump skipping one step. For example, \(S(4) = 5\):
- Step, step, step, step
- Jump, jump
- Jump, step, step
- Step, jump, step
- Step, step, jump
5 points