OFFSET
1,3
COMMENTS
LINKS
G. C. Greubel, Table of n, a(n) for the first 50 rows, flattened
P. Barry, A Note on a Family of Generalized Pascal Matrices Defined by Riordan Arrays, Journal of Integer Sequences, 16 (2013), #13.5.4.
FORMULA
Table entries appear to be given by T(n,k) = binomial(n-2,k-1) + 2^(n-1)*binomial(n-2,k-2), n,k >= 1, leading to the e.g.f. (exp((1+x)*u) - 1)*(x*exp((1+x)*u) + x + 2)/(2*(1+x)^2) = u + (1+2*x)*u^2/2! + (1+5*x+4*x^2)*u^3/3! + .... Cf. A111049. - Peter Bala, Jul 27 2012
EXAMPLE
The filled templates begin
1
.1
.2
..1
..2.3
..4
....1
....2.3.5
....4.6.7
....8
therefore the sequence begins
1
1 2
1 5 4
1 10 17 8
...
MATHEMATICA
T[n_, k_] := Binomial[n - 2, k - 1] + 2^(n - 1)*Binomial[n - 2, k - 2]; Table[T[n, k], {n, 1, 20}, {k, 1, n}] // Flatten (* G. C. Greubel, Aug 31 2017 *)
PROG
(PARI) for(n=1, 20, for(k=1, n, print1(binomial(n - 2, k - 1) + 2^(n - 1)*binomial(n - 2, k - 2), ", "))) \\ G. C. Greubel, Aug 31 2017
CROSSREFS
KEYWORD
nonn,tabl
AUTHOR
Alford Arnold, Jul 26 2005
STATUS
approved