OFFSET
0,2
COMMENTS
A skew version of A122075.
LINKS
G. C. Greubel, Table of n, a(n) for the first 50 rows, flattened
FORMULA
G.f.: (1+x)/(1-x-(1+y)*x^2).
T(n,k) = T(n-1,k) + T(n-2,k) + T(n-2,k-1), T(0,0) = 1, T(1,0) = 2, T(1,1) = 0, T(n,k) = 0 if k<0 or if k>n.
EXAMPLE
Triangle begins :
1
2, 0
3, 1, 0
5, 3, 0, 0
8, 7, 1, 0, 0
13, 15, 4, 0, 0, 0
21, 30, 12, 1, 0, 0, 0
34, 58, 31, 5, 0, 0, 0, 0
55, 109, 73, 18, 1, 0, 0, 0, 0
89, 201, 162, 54, 6, 0, 0, 0, 0, 0
144, 365, 344, 145, 25, 1, 0, 0, 0, 0, 0
...
MATHEMATICA
T[0, 0] := 1; T[1, 0] := 2; T[1, 1] := 0; T[n_, k_] := T[n, k] = If[n<0, 0, If[k > n, 0, T[n - 1, k] + T[n - 2, k] + T[n - 2, k - 1]]]; Table[T[n, k], {n, 0, 49}, {k, 0, n}] // Flatten (* G. C. Greubel, Dec 19 2017 *)
CROSSREFS
KEYWORD
AUTHOR
Philippe Deléham, Mar 10 2012
STATUS
approved