How many ways are there to to climb n steps (recurrence relations)?

Click For Summary

Homework Help Overview

The discussion revolves around a problem in combinatorics related to finding the number of ways to climb a staircase with n steps using recurrence relations.

Discussion Character

  • Conceptual clarification, Mathematical reasoning

Approaches and Questions Raised

  • Participants explore the formulation of recurrence relations for the problem, with one suggesting that if the first step is taken, the remaining steps can be represented as a simpler problem. Another participant questions the correctness of the initial equations and seeks clarification on how to combine the results.

Discussion Status

The discussion is ongoing, with participants examining the definitions and relationships involved in the recurrence relations. There is a mix of attempts to clarify the equations and questions about the next steps in the reasoning process.

Contextual Notes

There appears to be some confusion regarding the representation of the recurrence relations and the assumptions made about the steps taken. Participants are also navigating the format of the discussion, including how to mark the thread's status.

Eclair_de_XII
Messages
1,082
Reaction score
91
Homework Statement
Tom wants to climb ##n## steps. He can either climb one step at a time, or two steps at a time.
(a) How many ways are there for him to climb ##n## steps if he initially takes one step?
(b) How many ways are there if he initially takes two steps?
(c) Use these two answers in order to derive a recurrence relation for ##s_n##, the number of ways to climb ##n## steps.
Relevant Equations
The answer to (c) as Google-searched: ##s_n=s_{n-1}+s_{n-2}##.
(a) Okay, so if Tom climbs the first step, then he has ##n-1## steps to climb. So the number of ways to climb ##n## steps given he has initially climbed one, is ##s_n=s_{n-1}##.
(b) Similarly, ##s_n=s_{n-2}##.
 
Physics news on Phys.org
The words you have written are correct but the equations are not. ##s_n## represents the number of ways to climb n steps, not the number of ways to climb n steps when the first step is 1, nor the number of ways to climb n steps when the first step is 2. So you need to delete the characters "##s_n=##" from your answers.

The recurrence relation is what you have already written under 'Relevant Equations'.
 
So I just add the two answers togther?
 
Err, how do you mark this thread as "solved"?
 

Similar threads

  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 5 ·
Replies
5
Views
1K
Replies
5
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
Replies
2
Views
1K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
3
Views
3K