Gardener has to paint trees after planting. He has paint of three colour: white, blue and orange.
How many ways he can paint of
N trees, if not any two the same colours can be side by side?
The quantity of trees is
1 ≤ N ≤ 50).
The quantity of ways of paint.