How many possibilities are there to build a tower of n height, using colorful blocks, where:
- white block is of 1 height
- black, red, blue, green, yellow, pink blocks are equal to 2 heights
I need to find the generating function formula for this.
So, for n = 1 I get 1 possibility,
for n = 2 I get 2 possibilities,
for n = 3 I get 3 possibilities
for n = 4 I get > 4 possibilities etc.
The generating function at this moment would be $1 + 2x + 3x^{2} + ...$. But I have no idea how can I find the general formula calculating this.
Could you give me any suggestions, or solutions (;-)) ?