

A211234


Triangle read by rows: T(n,k) is the kth generalized Eulerian number of order n and degree 4, n >= 1.


4



1, 2, 3, 4, 1, 4, 10, 20, 10, 4, 1, 1, 7, 27, 77, 57, 0, 57, 77, 27, 7, 1, 1, 12, 69, 272, 221, 272, 1084, 1688, 1084, 272, 221, 272, 69, 12, 1, 1, 21, 176, 936, 625, 3288, 11868, 21023, 16223, 0, 16223, 21023, 11868, 3288, 625, 936, 176, 21, 1
(list;
graph;
refs;
listen;
history;
text;
internal format)



OFFSET

1,2


LINKS



FORMULA



EXAMPLE

Triangle begins:
1, 2, 3, 4;
1, 4, 10, 20, 10, 4, 1;
1, 7, 27, 77, 57, 0, 57, 77, 27, 7, 1;
...


PROG

(PARI)
T(n, r=4)={my(R=vector(n)); R[1]=[1..r]; for(n=2, n, my(u=R[n1]); R[n]=vector(r*n1, k, sum(j=0, r, (k  j*n)*if(k>j && kj<=#u, u[kj], 0)))); R}
{ my(A=T(5)); for(n=1, #A, print(A[n])) } \\ Andrew Howroyd, May 18 2020


CROSSREFS

Row sums of even rows are A047683; row sums of odd rows are zero for n > 1.


KEYWORD

sign,tabf


AUTHOR



EXTENSIONS



STATUS

approved



