OFFSET
0,3
FORMULA
EXAMPLE
Triangle T(i,j) (with rows i >= 0 and columns j = 0..i) begins:
1;
1, 2;
6, 3, 1;
1, 7, 16, 26;
168, 118, 69, 27, 1;
1, 169, 455, 810, 1192, 1575;
20355, 16153, 11952, 7920, 4343, 1576, 1;
1, 20356, 56864, 105324, 161704, 222427, 284726, 347026;
... - Petros Hadjicostas, Feb 16 2021
MATHEMATICA
nmax = 9; Clear[CBOUS2, c]; CBOUS2[a_List] := CBOUS2[a] = Module[{i, j, n, r }, n = Min[Length[a], nmax]; For[i = 0, i <= n - 1, i++, c[i, 0] = a[[i + 1]]]; For[i = n - 1, i <= nmax, i++, For[j = 1, j <= i, j++, c[i, j] = c[i, j - 1] + Sum[c[i - 1, i - r], {r, 1, j}]]]; Return[Table[ c[i, i], {i, 0, n - 1}]]]; Do[CBOUS2[Table[1, {n}]], {n, 0, nmax}]; Table[row = Table[c[i, j], {j, 0, i}]; If[OddQ[i], row, Reverse[row]], {i, 0, nmax - 1}] // Flatten (* Jean-François Alcover, Jul 14 2017, adapted from Maple code for A059430 *)
CROSSREFS
KEYWORD
AUTHOR
N. J. A. Sloane, Jan 31 2001
EXTENSIONS
More terms from Floor van Lamoen, Oct 08 2001
STATUS
approved