Painting stairs  math puzzle
To enter the house of the professor, you first have to walk up a stairs which consists out of twenty steps. The professor thinks his stairs are boring so he decides to paint them. He buys two colors, yellow and green. Every step will be either painted yellow or green and moreover the professor does not want to have two yellow steps directly after each other. In how many ways can the professor paint his stairs? And what is the name of the professor? 
Explanation
Suppose the stairs consists out of one step. Then the staris can be painted in two ways, see the figure above.
If the stairs have two steps, there are three possibilities.
If the stairs have three steps, there are five possibilities.
The rules for painting are:
After each yellow step there will be a green step.
After each green steps there will be either a yellow or a green step.
Let's call the number of ways in which the professor can paint a stairs of x steps N(x). Then it is easily seen that the latest step of a stairs with x steps can be painted green in N(x1) ways. De latest step of a stairs with x  1 steps can be painted green in N(x2) ways. From this is follows that the latest step of a stairs with x steps can be painted yellow in N(x2) ways.
So the professor can paint a stairs of x steps in N(x) = N(x1) + N(x2) ways.
From the figure it follows that N(1) = 2 en N(2) = 3.
Hence
x  1  2  3  4  5  6  7  8  9  10 
N(x)  2  3  5  8  13  21  34  55  89  144 
