login
Triangle of polynomial coefficients related to the series expansions of (1-x)^((-1-2*n)/2)
24

%I #25 Apr 12 2020 08:41:40

%S 1,1,2,3,8,4,15,46,36,8,105,352,344,128,16,945,3378,3800,1840,400,32,

%T 10395,39048,48556,27840,8080,1152,64,135135,528414,709324,459032,

%U 160720,31136,3136,128

%N Triangle of polynomial coefficients related to the series expansions of (1-x)^((-1-2*n)/2)

%C The series expansion of (1-x)^((-1-2*n)/2) = sum(b(p)*x^p, p=0..infinity) for n = 0, 1, 2, .. can be described with b(p) = (F(p,n)/ (2*n-1)!!)*(binomial(2*p,p)/4^(p)) with F(x,n) = 2^n * product( x+(2*k-1)/2, k=1..n). The roots of the F(x,n) polynomials can be found at p = (1-2*k)/2 with k from 1 to n for n = 0, 1, 2, .. . The coefficients of the F(x,n) polynomials lead to the triangle given above. The triangle row sums lead to A001147.

%C Quite surprisingly we discovered that sum(b(p)*x^p, p=0..infinity) = (1-x)^(-1-2*n)/2, for n = -1, -2, .. . We assume that if m = n+1 then the value returned for product(f(k), k = m..n) is 1 and if m> n+1 then 1/product(f(k), k=n+1..m-1) is the value returned. Furthermore (1-2*n)!! = (-1)^(n+1)/(2*n-3)!! for n = 1, 2, 3 .. . This leads to b(p) = ((-1-2*n)!!/ G(p,n))*(binomial(2*p,p) /4^(p)) for n = -1, -2, .. . For the G(p,n) polynomials we found that G(p,n) = F(-p,-n). The roots of the G(p,n) polynomials can be found at p=(2*k-1)/2 with k from 1 to (-n) for n = -1, -2, .. . The coefficients of the G(p,n) polynomials lead to a second triangle that stands with its head on top of the first one. It is remarkable that the row sums lead once again to A001147.

%C These two triangles together look like an hourglass so we propose to call the F(p,n) and the G(p,n) polynomials the hourglass polynomials.

%C Triangle T(n,k), read by rows, given by (1, 2, 3, 4, 5, 6, 7, 8, 9, ...) DELTA (2, 0, 2, 0, 2, 0, 2, 0, 2, ...) where DELTA is the operator defined in A084938. _Philippe Deléham_, May 14 2015.

%F a(n,m) := coeff(2^(n)*product((x+(2*k-1)/2),k=1..n), x, m) for n = 0, 1, .. ; m = 0, 1, .. .

%F a(n, m) = 2*a(n-1,m-1)+(2*n-1)*a(n-1,m) with a(n, n) = 2^n and a(n, 0) = (2*n-1)!!.

%F a(n,m) = the (m+1)-th term in the top row of M^n, where M is an infinite square production matrix; M[i,j] = A029635(i,j-1) = binomial(i, j-1) + binomial(i-1, j-2) with A029635 the (1.2)-Pascal triangle, see the examples and second Maple program. [_Gary W. Adamson_, Jul 19 2011]

%F T(n,k) = 2^k * A028338(n,k). - _Philippe Deléham_, May 14 2015

%e From _Gary W. Adamson_, Jul 19 2011: (Start)

%e The first few rows of matrix M are:

%e 1, 2, 0, 0, 0, ...

%e 1, 3, 2, 0, 0, ...

%e 1, 4, 5, 2, 0, ...

%e 1, 5, 9, 7, 2, ...

%e 1, 6, 14, 16, 9, ... (End)

%e The first few G(p,n) polynomials are:

%e G(p,-3) = 15 - 46*p + 36*p^2 - 8*p^3

%e G(p,-2) = 3 - 8*p + 4*p^2

%e G(p,-1) = 1 - 2*p

%e The first few F(p,n) polynomials are:

%e F(p,0) = 1

%e F(p,1) = 1 + 2*p

%e F(p,2) = 3 + 8*p + 4*p^2

%e F(p,3) = 15 + 46*p + 36*p^2 + 8*p^3

%e The first few rows of the upper and lower hourglass triangles are:

%e [15, -46, 36, -8]

%e [3, -8, 4]

%e [1, -2]

%e [1]

%e [1, 2]

%e [3, 8, 4]

%e [15, 46, 36, 8]

%p nmax:=7; for n from 0 to nmax do a(n,n):=2^n: a(n,0):=doublefactorial(2*n-1) od: for n from 2 to nmax do for m from 1 to n-1 do a(n,m) := 2*a(n-1,m-1)+(2*n-1)*a(n-1,m) od: od: seq(seq(a(n,k), k=0..n), n=0..nmax);

%p nmax:=7: M := Matrix(1..nmax+1,1..nmax+1): A029635 := proc(n,k): binomial(n,k) + binomial(n-1,k-1) end: for i from 1 to nmax do for j from 1 to i+1 do M[i,j] := A029635(i,j-1) od: od: for n from 0 to nmax do B := M^n: for m from 0 to n do a(n,m):= B[1,m+1] od: od: seq(seq(a(n,m), m=0..n), n=0..nmax);

%p A161198 := proc(n,k) option remember; if k > n or k < 0 then 0 elif n = 0 and k = 0 then 1 else 2*A161198(n-1, k-1) + (2*n-1)*A161198(n-1, k) fi end:

%p seq(print(seq(A161198(n,k), k = 0..n)), n = 0..6); # _Peter Luschny_, May 09 2013

%t nmax = 7; a[n_, 0] := (2*n-1)!!; a[n_, n_] := 2^n; a[n_, m_] := a[n, m] = 2*a[n-1, m-1]+(2*n-1)*a[n-1, m]; Table[a[n, m], {n, 0, nmax}, {m, 0, n}] // Flatten (* _Jean-François Alcover_, Feb 25 2014, after Maple *)

%o (PARI) for(n=0,9, print(Vec(Ser( 2^n*prod( k=1,n, x+(2*k-1)/2 ),,n+1)))) \\ _M. F. Hasler_, Jul 23 2011

%o (Sage)

%o @CachedFunction

%o def A161198(n,k):

%o if k > n or k < 0 : return 0

%o if n == 0 and k == 0: return 1

%o return 2*A161198(n-1,k-1)+(2*n-1)*A161198(n-1,k)

%o for n in (0..6): [A161198(n,k) for k in (0..n)] # _Peter Luschny_, May 09 2013

%Y Cf. A001790 [(1-x)^(-1/2)], A001803 [(1-x)^(-3/2)], A161199 [(1-x)^(-5/2)] and A161201 [(1-x)^(-7/2)].

%Y Cf. A002596 [(1-x)^(1/2)], A161200 [(1-x)^(3/2)] and A161202 [(1-x)^(5/2)].

%Y A046161 gives the denominators of the series expansions of all (1-x)^((-1-2*n)/2).

%Y A028338 is a scaled triangle version, A039757 is a scaled signed triangle version and A109692 is a transposed scaled triangle version.

%Y A001147 is the first left hand column and equals the row sums.

%Y A004041 is the second left hand column divided by 2, A028339 is the third left hand column divided by 4, A028340 is the fourth left hand column divided by 8, A028341 is the fifth left hand column divided by 16.

%Y A000012, A000290, A024196, A024197 and A024198 are the first (n-m=0), second (n-m=1), third (n-m=2), fourth (n-m=3) and fifth (n-m=4) right hand columns divided by 2^m.

%Y A074599 * A025549 is not always equals the second left hand column.

%Y Cf. A029635. [_Gary W. Adamson_, Jul 19 2011]

%K easy,nonn,tabl

%O 0,3

%A _Johannes W. Meijer_, Jun 08 2009, Jul 22 2011