this is the question
given $n$ stairs, how many number of ways can you climb either step up one stair or hop up two? I need to include the number of ways for $n=1$ through $6$ as well.
My question : is step up two stairs and hop up two, is it the same thing? however, I tried to do the solution
$n=1$ stair No. of ways $ = 1 = f(2) $
$n= 2$ No. of ways $ = 2 = f(3) = f(2) + f(1) $
$n= 3$ No. of ways $ = 3 = f(4) = f(3) + f(2) $
$n= 4$ No. of ways $ = 5 = f(5) = f(4) + f(3) $
$n= 5$ No. of ways $ = 8 = f(6) = f(5) + f(4) $
$n= 6$ No. of ways $ = 13 =f(7) = f(6) + f(5) $
:
:
for $n$, No. of ways $ = f(n+1) $
because there is a hint saying I could use recursively defined.
Is there other way?