How many ways are there of walking up a set of 7 stairs if you can take one or two steps at a time?
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
(1). 2 2 2 1.....we can arrange this in 4 different ways..... (2). 2 2 1 1 1......we can arrange this in 10 different ways..... (3). 2 1 1 1 1 1......we can arrange this in 6 different ways.... (4). 1 1 1 1 1 1 1.....only 1 way... So total no of ways=21