OFFSET
0,3
COMMENTS
T(n,k) equals the number of n-length words on {0,1,...,8} having n-k zeros. - Milan Janjic, Jul 24 2015
FORMULA
G.f.: 1 / [1 - x(1+8y)].
T(n,k) = 8^k*C(n,k) = Sum_{i=n-k..n} C(i,n-k)*C(n,i)*7^(n-i). Row sums are 9^n = A001019. - Mircea Merca, Apr 28 2012
MAPLE
T:= n-> (p-> seq(coeff(p, x, k), k=0..n))((1+8*x)^n):
seq(T(n), n=0..10); # Alois P. Heinz, Jul 25 2015
CROSSREFS
KEYWORD
AUTHOR
STATUS
approved