Ways of Stepping One, Two, or Three Stairs Up a Stairway

For a person who can climb stairs either one, two, or three stairs at a time there are many ways of climbing a stairway with stairs. For a stairway consisting of four stairs, there are the following seven ways:
{{1,1,1,1}, {1,1,2}, {1,2,1}, {2,1,1}, {2,2}, {1,3}, {3,1}}.
This Demonstration shows the combinations and counts the permutations of these combinations for stairways of different lengths. It also shows a simpler way of finding the number of different ways of climbing the stairways using the Tribonacci series.

Puzzle taken from Stairway.
comments
 
Powered by Wolfram Mathematica
Give us your feedback
Give us your feedback

Source page:




 often  occasionally  never

Note: Please do not include anything you consider confidential or proprietary. Your message and contact information may be shared with the author of any specific Demonstration for which you give feedback, but will not otherwise be published or distributed.
Privacy Policy »

Note: To run this Demonstration you need the free
Mathematica Player
or Mathematica 7+
Download or upgrade to Mathematica Player 7
I already have Mathematica Player or Mathematica 7+