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!)
A133815 Square array of Hankel transforms of binomial(n+k,floor((n+k)/2)), read by antidiagonals. 1

%I #18 Mar 17 2023 07:22:20

%S 1,1,1,1,1,1,1,-1,2,1,1,-1,3,3,1,1,1,4,-6,6,1,1,1,5,-10,20,10,1,1,-1,

%T 6,15,50,-50,20,1,1,-1,7,21,105,-175,175,35,1,1,1,8,-28,196,490,980,

%U -490,70,1,1,1,9,-36,336,1176,4116,-4116,1764,126,1

%N Square array of Hankel transforms of binomial(n+k,floor((n+k)/2)), read by antidiagonals.

%C T(n+1,k) is the Hankel transform of binomial(n+k, floor((n+k)/2)).

%C Even-indexed columns count tilings of hexagons: A002415 (<2,n,2>), A047819 (<3,n,3>), A047835 (<4,n,4>), etc.

%H G. C. Greubel, <a href="/A133815/b133815.txt">Antidiagonals n = 0..50, flattened</a>

%F T(n,k) = if(k mod 2 = 0, Product_{j=0..(k-2)/2} C(n+k/2+j,k/2) / C(k/2+j,k/2), (cos(Pi*n/2) + sin(Pi*n/2))*Product_{j=0..(k-3)/2} C(n+(k+1)/2+j,(k+1)/2)/C((k+1)/2+j,(k+1)/2)}).

%e Array begins

%e 1, 1, 1, 1, 1, 1, ...

%e 1, 1, 2, 3, 6, 10, ...

%e 1, -1, 3, -6, 20, -50, ...

%e 1, -1, 4, -10, 50, -175, ...

%e 1, 1, 5, 15, 105, 490, ...

%e 1, 1, 6, 21, 196, 1176, ...

%e As a number triangle, T(n-k,k) gives

%e 1;

%e 1, 1;

%e 1, 1, 1;

%e 1, -1, 2, 1;

%e 1, -1, 3, 3, 1;

%e 1, 1, 4, -6, 6, 1;

%e 1, 1, 5, -10, 20, 10, 1;

%e 1, -1, 6, 15, 50, -50, 20, 1;

%t T[ n_, m_] := With[{k = Quotient[m + 1, 2]}, (-1)^(Quotient[n, 2] m) Product[ Binomial[n + k + j, k] / Binomial[k + j, k], {j, 0, k - 1 - Mod[m, 2]}]];

%t (* _Michael Somos_, Apr 03 2021 *)

%o (PARI) alias(C, binomial);

%o T(n,k) = if (k % 2 == 0, prod(j=0, (k-2)/2, C(n+k/2+j,k/2)/C(k/2+j,k/2)), (cos(Pi*n/2)+sin(Pi*n/2))*prod(j=0, (k-3)/2, C(n+(k+1)/2+j,(k+1)/2)/C((k+1)/2+j,(k+1)/2)));

%o tabl(nn) = matrix(nn, nn, n, k, round(T(n-1, k-1))); \\ _Michel Marcus_, Dec 10 2016

%o (PARI) T(n, m) = my(k = (m+1)\2); (-1)^(n\2*m) * prod(j=0, k-1-m%2, binomial(n+k+j, k) / binomial(k+j, k)); /* _Michael Somos_, Apr 03 2021 */

%o (Magma)

%o F:= Floor;

%o function t(n,k)

%o if k eq 0 then return 1;

%o elif k eq 1 then return (-1)^F(n/2);

%o elif (k mod 2) eq 0 then return (&*[ Binomial(n+F(k/2)+j, F(k/2))/Binomial(F(k/2)+j, F(k/2)) : j in [0..F((k-2)/2)] ]);

%o else return (-1)^F(n/2)*(&*[ Binomial(n+F((k+1)/2)+j, F((k+1)/2))/Binomial(F((k+1)/2)+j, F((k+1)/2)) : j in [0..F((k-3)/2)] ]);

%o end if;

%o end function;

%o // [[t(n,k): k in [0..10]]: n in [0..10]];

%o A133815:= func< n,k | t(n-k, k) >;

%o [A133815(n,k): k in [0..n], n in [0..12]]; // _G. C. Greubel_, Mar 16 2023

%o (SageMath)

%o def f(k): return (k+1)//2

%o def t(n, k): return (-1)^(k*(n//2))*product(binomial(n+f(k) +j, f(k))/binomial(f(k) +j, f(k)) for j in range(f(k-1)))

%o def A133815(n,k): return t(n-k, k)

%o flatten([[A133815(n,k) for k in range(n+1)] for n in range(13)]) # _G. C. Greubel_, Mar 16 2023

%Y Cf. A002415, A047819, A047835, A103905, A120247.

%K easy,sign,tabl

%O 0,9

%A _Paul Barry_, Sep 24 2007

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 23 20:33 EDT 2024. Contains 371916 sequences. (Running on oeis4.)