login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A013616
Triangle of coefficients in expansion of (1+9x)^n.
3
1, 1, 9, 1, 18, 81, 1, 27, 243, 729, 1, 36, 486, 2916, 6561, 1, 45, 810, 7290, 32805, 59049, 1, 54, 1215, 14580, 98415, 354294, 531441, 1, 63, 1701, 25515, 229635, 1240029, 3720087, 4782969, 1, 72, 2268, 40824, 459270, 3306744, 14880348, 38263752, 43046721
OFFSET
0,3
COMMENTS
T(n,k) equals the number of n-length words on {0,1,...,9} having n-k zeros. - Milan Janjic, Jul 24 2015
FORMULA
G.f.: 1 / (1 - x(1+9y)).
T(n,k) = 9^k*C(n,k) = Sum_{i=n-k..n} C(i,n-k)*C(n,i)*8^(n-i). Row sums are 10^n = A011557(n). - Mircea Merca, Apr 28 2012
MAPLE
T:= n-> (p-> seq(coeff(p, x, k), k=0..n))((1+9*x)^n):
seq(T(n), n=0..10); # Alois P. Heinz, Jun 10 2014
CROSSREFS
Sequence in context: A342637 A010170 A317051 * A205381 A237587 A328621
KEYWORD
tabl,nonn,easy
STATUS
approved