How many ways can I go up some steps?

  • Thread starter Thread starter Paulo Serrano
  • Start date Start date
AI Thread Summary
A person can ascend a staircase by taking one, two, or three steps at a time, but can only take one step for the final ascent. To calculate the different ways to climb a staircase with 7 steps, a case-wise approach is suggested, although Fibonacci numbers are mentioned as a potential method. The Fibonacci sequence, defined by a recurrence relation, is relevant for staircases where only one or two steps can be taken at a time, which differs from the problem's conditions. The discussion highlights confusion regarding the application of Fibonacci numbers to the problem, especially for the second part, which asks for a staircase configuration yielding 987 ways to ascend. Clarification on the correct mathematical approach is sought, emphasizing the need for a better understanding of the problem's requirements.
Paulo Serrano
Messages
52
Reaction score
0

Homework Statement


A person can go up one step at a time, skip a step at a time, or skip two steps at a time, with the exception of the final step, which obviously you can only go one step up.

a) Calculate the different ways someone can up up a staircase with 7 steps.
b) Calculate the number of steps in the staircase if the total number of ways I can go up it is N=987



Homework Equations



none

The Attempt at a Solution

 
Physics news on Phys.org
With only 7 steps, I think a case-wise solution may be quicker.
 
This was from the test to major in physics/engineering from Rio De Janeiro Federal University last year. The answer sheet says you have to use Fibonacci numbers. I have no idea what those are or how they work, so I'm going to read about them on wikipedia.

if someone can give me a summary of how it works, though, I'd appreciate it.
 
Fibonacci numbers are numbers form a sequence of numbers, the first 2 are
f(0) = 0 and f(1) = 1 and the rest is computed by f(n) = f(n-1) + f(n-2).
This is called a recurrence relation
The numbers you'll get are related with a similar relation.

If you want to go up a staircase of n steps with n at least 3, the first step could move up 1, 2 or 3 steps. The number of ways is the sum of the number of ways to climb the smaller steps that are left.

Unfortunately, question b makes me think that the author of this problem DOES think that the numbers are from the fibonacci sequence, which is wrong. It would be right if you could move only 1 or 2 steps up at a time.
 
I picked up this problem from the Schaum's series book titled "College Mathematics" by Ayres/Schmidt. It is a solved problem in the book. But what surprised me was that the solution to this problem was given in one line without any explanation. I could, therefore, not understand how the given one-line solution was reached. The one-line solution in the book says: The equation is ##x \cos{\omega} +y \sin{\omega} - 5 = 0##, ##\omega## being the parameter. From my side, the only thing I could...
Essentially I just have this problem that I'm stuck on, on a sheet about complex numbers: Show that, for ##|r|<1,## $$1+r\cos(x)+r^2\cos(2x)+r^3\cos(3x)...=\frac{1-r\cos(x)}{1-2r\cos(x)+r^2}$$ My first thought was to express it as a geometric series, where the real part of the sum of the series would be the series you see above: $$1+re^{ix}+r^2e^{2ix}+r^3e^{3ix}...$$ The sum of this series is just: $$\frac{(re^{ix})^n-1}{re^{ix} - 1}$$ I'm having some trouble trying to figure out what to...
Back
Top