document.write( "Question 255273: A staircase has 5 steps. You can walk up the staircase by taking one or two steps at a time. How many different ways can you walk up the staircase?\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "

Algebra.Com's Answer #187552 by drk(1908)\"\" \"About 
You can put this solution on YOUR website!
we have
\n" ); document.write( "1,1,1,1,1
\n" ); document.write( "1,1,1,2
\n" ); document.write( "1,1,2,1
\n" ); document.write( "1,2,1,1
\n" ); document.write( "2,1,1,1
\n" ); document.write( "1,2,2
\n" ); document.write( "2,1,2
\n" ); document.write( "2,2,1
\n" ); document.write( "so, it appears we have 8 ways
\n" ); document.write( "
\n" );