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”).

A059274
Analog of A059226 in which left diagonal is all 1's.
3
1, 1, 2, 1, 5, 8, 1, 11, 28, 39, 1, 23, 80, 164, 214, 1, 47, 208, 548, 1010, 1274, 1, 95, 512, 1632, 3744, 6490, 8028, 1, 191, 1216, 4528, 12248, 25868, 43132, 52698, 1, 383, 2816, 11968, 37024, 90624, 181272, 294366, 356630, 1, 767
OFFSET
0,3
EXAMPLE
Triangle begins with:
1;
1, 2;
1, 5, 8;
1, 11, 28, 39;
1, 23, 80, 164, 214;
1, 47, 208, 548, 1010, 1274;
1, 95, 512, 1632, 3744, 6490, 8028;
... - G. C. Greubel, Jan 03 2017
MATHEMATICA
T[i_, j_]:= T[i, j] = Module[{r, s, t1}, If[i == 0 && j == 0, Return[1]];
If[j == 0, Return[1]]; t1 = T[i, j - 1]; For[r = 0, r <= i - j, r++,
For[s = 0, s <= j, s++, If[r + s != i, t1 = t1 + T[r + s, s]]]];
Return[t1]]; Table[T[n, k], {n, 0, 10}, {k, 0, n}] // Flatten (* G. C. Greubel, Jan 03 2017 *)
CROSSREFS
Sequence in context: A268950 A141507 A193603 * A082635 A377661 A166623
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Jan 24 2001
STATUS
approved