OFFSET
0,8
LINKS
Nathaniel Johnston, Rows 0..100, flattened
FORMULA
T(n,k) = 3*binomial(floor((n+k)/2),k)-2. - Nathaniel Johnston, Jun 29 2011
EXAMPLE
First few rows of the triangle:
1;
1, 1;
1, 1, 1;
1, 4, 1, 1;
1, 4, 7, 1, 1;
1, 7, 7, 10, 1, 1;
1, 7, 16, 10, 13, 1, 1;
...
MAPLE
for n from 0 to 6 do seq(3*binomial(floor((n+k)/2), k)-2, k=0..n); od; # Nathaniel Johnston, Jun 29 2011
MATHEMATICA
t[n_, k_] := 3 Binomial[Floor[(n + k)/2], k] - 2; Table[t[n, k], {n, 11}, {k, 0, n}] // Flatten
(* to view triangle: Table[t[n, k], {n, 5}, {k, 0, n}] // TableForm *) (* Robert G. Wilson v, Feb 28 2015 *)
CROSSREFS
KEYWORD
AUTHOR
Gary W. Adamson, Jun 27 2007
STATUS
approved