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

 


A350584
Triangle read by rows, T(n, k) = [x^k] ((2*x^3 - 3*x^2 - x + 1)/(1 - x)^(n + 2)), for n >= 1 and 0 <= k < n.
2
1, 1, 3, 1, 4, 7, 1, 5, 12, 19, 1, 6, 18, 37, 56, 1, 7, 25, 62, 118, 174, 1, 8, 33, 95, 213, 387, 561, 1, 9, 42, 137, 350, 737, 1298, 1859, 1, 10, 52, 189, 539, 1276, 2574, 4433, 6292, 1, 11, 63, 252, 791, 2067, 4641, 9074, 15366, 21658
OFFSET
1,3
EXAMPLE
Triangle starts:
[1] [1]
[2] [1, 3]
[3] [1, 4, 7]
[4] [1, 5, 12, 19]
[5] [1, 6, 18, 37, 56]
[6] [1, 7, 25, 62, 118, 174]
[7] [1, 8, 33, 95, 213, 387, 561]
[8] [1, 9, 42, 137, 350, 737, 1298, 1859]
[9] [1, 10, 52, 189, 539, 1276, 2574, 4433, 6292]
MAPLE
# Compare the analogue algorithm for the Bell triangle in A046937.
A350584Triangle := proc(len) local A, P, T, n; A := [2]; P := [1]; T := [[1]];
for n from 1 to len-1 do P := ListTools:-PartialSums([op(P), A[-1]]);
A := P; T := [op(T), P] od; T end:
A350584Triangle(10): ListTools:-Flatten(%);
# Alternative:
ogf := n -> (2*x^3 - 3*x^2 - x + 1)/(1 - x)^(n + 2):
ser := n -> series(ogf(n), x, n):
row := n -> seq(coeff(ser(n), x, k), k = 0..n-1):
seq(row(n), n = 1..10);
CROSSREFS
A280891 (row sums), A135339 (alternating row sums), A005807 or A071716 (main diagonal).
Sequence in context: A086273 A054143 A104746 * A208339 A328463 A185722
KEYWORD
nonn,tabl
AUTHOR
Peter Luschny, Mar 27 2022
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | 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 September 21 04:44 EDT 2024. Contains 376079 sequences. (Running on oeis4.)