You climb a 12-step ladder. In each movement you can go up 1 or 2 steps.
How many different ways can you get to the top?
Home > Riddles > 12-step ladder
12-step ladder
Hints
Show hints
- Reusable idea: To avoid getting lost in Fibonacci, build a short cumulative chart.
- If the last step is 1, you come from n-1.
- Let F(n) be the number of ways to climb n steps.
Solution
Show full solution
Back to problem
Answer: 233 ways.
Let $F(n)$ be the number of ways to climb $n$ steps.
- If the last step is 1, you come from $n-1$.
- If the last step is 2, you come from $n-2$.
Therefore:
$$ F(n)=F(n-1)+F(n-2),\quad F(1)=1,\ F(2)=2. $$
Ordered calculation up to 12:
| $n$ | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| $F(n)$ | 1 | 2 | 3 | 5 | 8 | 13 | 21 | 34 | 55 | 89 | 144 | 233 |
So:
$$ F(12)=233. $$
Reusable idea: To avoid getting lost in Fibonacci, build a short cumulative chart.
Related riddles
Keep practicing
If you enjoyed this one, try more pure-logic riddles, explore this theme, browse the full archive, or read the riddle-solving guide.