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!)
A322229 Triangle, read by rows, where row n lists coefficients in Product_{k=1..n} (k + x + (n+1-k)*x^2), for n >= 0. 3

%I #11 Dec 30 2018 01:45:12

%S 1,1,1,1,2,3,6,3,2,6,11,32,27,32,11,6,24,50,189,210,350,210,189,50,24,

%T 120,274,1269,1689,3594,2915,3594,1689,1269,274,120,720,1764,9652,

%U 14651,37750,37457,58156,37457,37750,14651,9652,1764,720,5040,13068,82396,138473,417780,481074,896412,714483,896412,481074,417780,138473,82396,13068,5040,40320,109584,781820,1426428,4923585,6370164,13808832,12899520,19279494,12899520,13808832,6370164,4923585,1426428,781820,109584,40320

%N Triangle, read by rows, where row n lists coefficients in Product_{k=1..n} (k + x + (n+1-k)*x^2), for n >= 0.

%C Row sums equal A000272(n+2) = (n+2)^n, for n >= 0.

%H Paul D. Hanna, <a href="/A322229/b322229.txt">Table of n, a(n) for n = 0..1680 terms of this irregular triangle, as read by rows 0..40.</a>

%F T(n,0) = T(n,2*n) = n!, for n >= 0.

%F Sum_{k=0..2*n} T(n,k) = (n+2)^n, for n >= 0.

%F Sum_{k=0..2*n} T(n,k)*(-1)^k = n^n, for n >= 0.

%e This triangle, where row n gives coefficients in Product_{k=1..n} (k + x + (n+1-k)*x^2), begins

%e 1;

%e 1, 1, 1;

%e 2, 3, 6, 3, 2;

%e 6, 11, 32, 27, 32, 11, 6;

%e 24, 50, 189, 210, 350, 210, 189, 50, 24;

%e 120, 274, 1269, 1689, 3594, 2915, 3594, 1689, 1269, 274, 120;

%e 720, 1764, 9652, 14651, 37750, 37457, 58156, 37457, 37750, 14651, 9652, 1764, 720;

%e 5040, 13068, 82396, 138473, 417780, 481074, 896412, 714483, 896412, 481074, 417780, 138473, 82396, 13068, 5040;

%e 40320, 109584, 781820, 1426428, 4923585, 6370164, 13808832, 12899520, 19279494, 12899520, 13808832, 6370164, 4923585, 1426428, 781820, 109584, 40320;

%e 362880, 1026576, 8172540, 15965072, 61978425, 88164321, 217535135, 230299722, 398293065, 314352219, 398293065, 230299722, 217535135, 88164321, 61978425, 15965072, 8172540, 1026576, 362880; ...

%e Example of row generating functions.

%e Row 0: 1;

%e Row 1: (1 + x + 1*x^2);

%e Row 2: (1 + x + 2*x^2)*(2 + x + 1*x^2) = 2 + 3*x + 6*x^2 + 3*x^3 + 2*x^4;

%e Row 3: (1 + x + 3*x^2)*(2 + x + 2*x^2)*(3 + x + 1*x^2) = 6 + 11*x + 32*x^2 + 27*x^3 + 32*x^4 + 11*x^5 + 6*x^6;

%e Row 4: (1 + x + 4*x^2)*(2 + x + 3*x^2)*(3 + x + 2*x^2)*(4 + x + 1*x^2) = 24 + 50*x + 189*x^2 + 210*x^3 + 350*x^4 + 210*x^5 + 189*x^6 + 50*x^7 + 24*x^8;

%e Row 5: (1 + x + 5*x^2)*(2 + x + 4*x^2)*(3 + x + 3*x^2)*(4 + x + 2*x^2)*(5 + x + 1*x^2) = 120 + 274*x + 1269*x^2 + 1689*x^3 + 3594*x^4 + 2915*x^5 + 3594*x^6 + 1689*x^7 + 1269*x^8 + 274*x^9 + 120*x^10;

%e ...

%e Row sums = [1, 3, 16, 125, 1296, 16807, 262144, 4782969, ..., (n+2)^n, ...].

%e Main diagonal = [1, 1, 6, 27, 350, 2915, 58156, 714483, ..., A322233(n), ...].

%e Secondary diagonal = [1, 3, 32, 210, 3594, 37457, 896412, ..., A322234(n), ...].

%t row[n_] := Product[k + x + (n - k + 1) x^2, {k, 1, n}] + O[x]^(2 n + 1) // CoefficientList[#, x]&;

%t Table[row[n], {n, 0, 8}] // Flatten (* _Jean-François Alcover_, Dec 29 2018 *)

%o (PARI) {T(n, k) = polcoeff( prod(m=1, n, m + x + (n+1-m)*x^2) +x*O(x^k), k)}

%o for(n=0, 10, for(k=0, 2*n, print1( T(n, k), ", ")); print(""))

%Y Cf. A000272 (row sums), A322233 (main diagonal), A322234 (diagonal).

%K nonn,tabf

%O 0,5

%A _Paul D. Hanna_, Dec 18 2018

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 April 16 08:15 EDT 2024. Contains 371698 sequences. (Running on oeis4.)