Answer:
tn = t[n-1] + t[n-2] + t[n-4] . . .
Step-by-step explanation:
Let t_n = number of ways of constructing height n.
The last block of a tower of height n can be a 1, 2, or 4.
so it was added to a tower of height n-1, n-2, or n-4 respectively.
Time to try: tn = t[n-1] + t[n-2] + t[n-4] . . . (correct)
1 = 1 from 1
2 = 2 from (2) or (1,1)
3 = 3 from (1,1,1) or (2,1) or (1,2)
4 = 6 from (1,1,1,1) (1,1,2) (1,2,1) (2,1,1) (2,2) (4)
5 = 10 from
1 x (1,1,1,1,1)
4 x (1,1,1,2)
3 x (1,2,2)
2 x (1,4)
6 = 18 from
2 x (4,2) ...
3 x (4,1,1) ...
1 x (2,2,2) ...
6 x (2,2,1,1) ...
5 x (2,1,1,1,1) ..
1 x (1,1,1,1,1,1) ..
Prediction for 7 is t6 + t5 + t3 = 18 + 10 + 3 = 31
6 x (4,2,1)
4 x (4,1,1,1)
4 x (2,2,2,1)
10 x (2,2,1,1,1)
6 x (2,1,1,1,1,1)
1 x (1,1,1,1,1,1,1)
Total =31