login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A238344 Irregular triangle T(n,k) read by rows: T(n,k) is the number of compositions of n with k descents, n>=0, 0<=k<=floor(n/3). 14
1, 1, 2, 3, 1, 5, 3, 7, 9, 11, 19, 2, 15, 41, 8, 22, 77, 29, 30, 142, 81, 3, 42, 247, 205, 18, 56, 421, 469, 78, 77, 689, 1013, 264, 5, 101, 1113, 2059, 786, 37, 135, 1750, 4021, 2097, 189, 176, 2712, 7558, 5179, 751, 8, 231, 4128, 13780, 11998, 2558, 73, 297, 6208, 24440, 26400, 7762, 429 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
COMMENTS
Same as A238343, with zeros omitted.
Row sums are A011782.
T(3n,n) = A000045(n+1).
T(3n+1,n) = A136376(n+1).
LINKS
Joerg Arndt and Alois P. Heinz, Rows n = 0..250, flattened
EXAMPLE
Triangle starts:
00: 1;
01: 1;
02: 2;
03: 3, 1;
04: 5, 3;
05: 7, 9;
06: 11, 19, 2;
07: 15, 41, 8;
08: 22, 77, 29;
09: 30, 142, 81, 3;
10: 42, 247, 205, 18;
11: 56, 421, 469, 78;
12: 77, 689, 1013, 264, 5;
13: 101, 1113, 2059, 786, 37;
14: 135, 1750, 4021, 2097, 189;
15: 176, 2712, 7558, 5179, 751, 8;
16: 231, 4128, 13780, 11998, 2558, 73;
17: 297, 6208, 24440, 26400, 7762, 429;
18: 385, 9201, 42358, 55593, 21577, 1945, 13;
19: 490, 13502, 71867, 112814, 55867, 7465, 139;
20: 627, 19585, 119715, 221639, 136478, 25317, 927;
...
MAPLE
b:= proc(n, i) option remember; `if`(n=0, 1, expand(
add(b(n-j, j)*`if`(j<i, x, 1), j=1..n)))
end:
T:= n-> (p-> seq(coeff(p, x, i), i=0..degree(p)))(b(n, 0)):
seq(T(n), n=0..20);
MATHEMATICA
b[n_, i_] := b[n, i] = If[n == 0, 1, Expand[Sum[b[n-j, j]*If[j<i, x, 1], {j, 1, n} ]]]; T[n_] := Function[{p}, Table[Coefficient[p, x, i], {i, 0, Exponent[p, x]}]][b[n, 0]]; Table[T[n], {n, 0, 20}] // Flatten (* Jean-François Alcover, Feb 11 2015, after Maple *)
CROSSREFS
Sequence in context: A047706 A300518 A111609 * A299072 A169820 A334658
KEYWORD
nonn,tabf,look
AUTHOR
Joerg Arndt and Alois P. Heinz, Feb 25 2014
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 5 16:42 EDT 2024. Contains 372276 sequences. (Running on oeis4.)