%I #19 Dec 30 2018 00:48:37
%S 1,1,1,1,2,3,5,3,2,6,11,24,23,24,11,6,24,50,131,160,215,160,131,50,24,
%T 120,274,825,1181,1890,1815,1890,1181,825,274,120,720,1764,5944,9555,
%U 17471,19866,24495,19866,17471,9555,5944,1764,720,5040,13068,48412,85177,173460,223418,313628,302619,313628,223418,173460,85177,48412,13068,5040,40320,109584,440684,834372,1860153,2642220,4120122,4521924,5320667,4521924,4120122,2642220,1860153,834372,440684,109584,40320,362880,1026576,4438620,8936288,21541905,33149481,56464695,68597418,89489025,86715299,89489025,68597418,56464695,33149481,21541905,8936288,4438620,1026576,362880
%N Triangle, read by rows, each row n being defined by g.f. Product_{k=1..n} (k + x + k*x^2), for n >= 0.
%H Paul D. Hanna, <a href="/A322235/b322235.txt">Table of n, a(n) for n = 0..5040, as a flattened triangle of rows 0..70.</a>
%F Row sums equal (2*n+1)!/(n!*2^n), the odd double factorials.
%F Left and right borders equal n!.
%e This irregular triangle formed from coefficients of x^k in Product_{m=1..n} (m + x + m*x^2), for n >= 0, k = 0..2*n, begins
%e 1;
%e 1, 1, 1;
%e 2, 3, 5, 3, 2;
%e 6, 11, 24, 23, 24, 11, 6;
%e 24, 50, 131, 160, 215, 160, 131, 50, 24;
%e 120, 274, 825, 1181, 1890, 1815, 1890, 1181, 825, 274, 120;
%e 720, 1764, 5944, 9555, 17471, 19866, 24495, 19866, 17471, 9555, 5944, 1764, 720;
%e 5040, 13068, 48412, 85177, 173460, 223418, 313628, 302619, 313628, 223418, 173460, 85177, 48412, 13068, 5040;
%e 40320, 109584, 440684, 834372, 1860153, 2642220, 4120122, 4521924, 5320667, 4521924, 4120122, 2642220, 1860153, 834372, 440684, 109584, 40320; ...
%e in which the central terms equal A322238.
%e RELATED SEQUENCES.
%e Note that the terms in the secondary diagonal A322237 in the above triangle
%e [1, 3, 24, 160, 1890, 19866, 313628, 4521924, 89489025, 1642616195, ...]
%e may be divided by triangular numbers to obtain A322236:
%e [1, 1, 4, 16, 126, 946, 11201, 125609, 1988645, 29865749, 592326527, ...].
%t row[n_] := CoefficientList[Product[k+x+k*x^2, {k, 1, n}] + O[x]^(2n+1), x];
%t Table[row[n], {n, 0, 9}] // Flatten (* _Jean-François Alcover_, Dec 26 2018 *)
%o (PARI) {T(n, k) = polcoeff( prod(m=1, n, m + x + m*x^2) +x*O(x^k), k)}
%o /* Print the irregular triangle */
%o for(n=0, 10, for(k=0, 2*n, print1( T(n, k), ", ")); print(""))
%Y Cf. A322236, A322237, A322238.
%Y Cf. A322225 (variant), A322891 (variant).
%K nonn,tabf
%O 0,5
%A _Paul D. Hanna_, Dec 15 2018
|