Triangle read by rows: T(n,k) is the number of ternary words of length n containing k 012's (n>=0, 0<=k<=floor(n/3)).
1, 3, 9, 26, 1, 75, 6, 216, 27, 622, 106, 1, 1791, 387, 9, 5157, 1350, 54, 14849, 4566
1 seqfan posts
Tue Nov 22 20:27:32 CET 2011 [seqfan] Re: Guess the formula http://oeis.org/A076264