A man interesting to climb a tower with $n$ floors. Each step he can jump one floor or two floors at once. The man can stop at most one time for rest (but he does not have to). Find a recurrence relation which describes the number of possible differences routes which bring the man to the roof.
My attempt: If the men can not stop at most one time so $A_n=A_{n-1}+A_{n-2}$ but I don`t know how to take into account the possibility of stopping.
EDIT: An example for the problem: A rest is one of the steps in the route to the roof. The following routs are not equivalent: 1-2-3, 1-2-2-3, 1-1-2-3, 1-2-3-3, when the first number indicates the floor which the man came after one step, the second after two steps and so on..
That's tricky. I think you'd need to separate families to count the number of ways to climb $k$ floors with no stop (which I'll call $N_k$) and the number of ways to climb $k$ floors with one stop (which I'll call $S_k$). Then we'd have: $$N_k=N_{k-1}+N_{k-2}\\S_k=S_{k-1}+S_{k-2}+N_k$$I think $S_k$ would be the number you're looking for, since getting to the top without a break would "look" like getting to the top and then taking a break at the top. But double-check for small values of $k$ to be sure.