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!)
A054336 A convolution triangle of numbers based on A001405 (central binomial coefficients). 13

%I #46 Feb 17 2022 01:11:36

%S 1,1,1,2,2,1,3,5,3,1,6,10,9,4,1,10,22,22,14,5,1,20,44,54,40,20,6,1,35,

%T 93,123,109,65,27,7,1,70,186,281,276,195,98,35,8,1,126,386,618,682,

%U 541,321,140,44,9,1,252,772,1362,1624,1440,966,497,192,54,10,1

%N A convolution triangle of numbers based on A001405 (central binomial coefficients).

%C T(n,k) is the number of 2-Motzkin paths (i.e., Motzkin paths with blue and red level steps) with no level steps at positive height and having k blue level steps. Example: T(4,2)=9 because, denoting U=(1,1), D=(1,-1), B=blue (1,0), R=red (1,0), we have BBRR, BRBR, BRRB, RBBR, RBRB, RRBB, BBUD, BUDB, and UDBB. - _Emeric Deutsch_, Jun 07 2011

%C In the language of the Shapiro et al. reference (given in A053121) such a lower triangular (ordinary) convolution array, considered as a matrix, belongs to the Bell-subgroup of the Riordan-group.

%C The g.f. for the row polynomials p(n,x) (increasing powers of x) is 1/(1-(1+x)*z-z^2*c(z^2)), with c(x) the g.f. for Catalan numbers A000108.

%C Column sequences: A001405, A045621.

%C Riordan array (f(x), x*f(x)), f(x) the g.f. of A001405. - _Philippe Deléham_, Dec 08 2009

%C From _Paul Barry_, Oct 21 2010: (Start)

%C Riordan array ((sqrt(1+2x) - sqrt(1-2x))/(2x*sqrt(1-2x)), (sqrt(1+2x)-sqrt(1-2x))/(2*sqrt(1-2x))),

%C inverse of Riordan array ((1+x)/(1+2x+2x^2), x(1+x)/(1+2x+2x^2)) (A181472). (End)

%H G. C. Greubel, <a href="/A054336/b054336.txt">Rows n = 0..100 of triangle, flattened</a>

%F G.f. for column m: cbi(x)*(x*cbi(x))^m, with cbi(x) := (1+x*c(x^2))/sqrt(1-4*x^2) = 1/(1-x-x^2*c(x^2)), where c(x) is the g.f. for Catalan numbers A000108.

%F T(n,k) = Sum_{j>=0} A053121(n,j)*binomial(j,k). - _Philippe Deléham_, Mar 30 2007

%F T(n,k) = T(n-1,k-1) + T(n-1,l) + Sum_{j>=0} T(n-1,k+1+j)*(-1)^j. - _Philippe Deléham_, Feb 23 2012

%e Fourth row polynomial (n=3): p(3,x)= 3 + 5*x + 3*x^2 + x^3.

%e From _Paul Barry_, Oct 21 2010: (Start)

%e Triangle begins

%e 1;

%e 1, 1;

%e 2, 2, 1;

%e 3, 5, 3, 1;

%e 6, 10, 9, 4, 1;

%e 10, 22, 22, 14, 5, 1;

%e 20, 44, 54, 40, 20, 6, 1;

%e 35, 93, 123, 109, 65, 27, 7, 1;

%e Production matrix is

%e 1, 1;

%e 1, 1, 1;

%e -1, 1, 1, 1;

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

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

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

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

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

%e -1, 1, -1, 1, -1, 1, -1, 1, 1, 1; (End)

%t c[n_, j_] /; n < j || OddQ[n - j] = 0; c[n_, j_] = (j + 1) Binomial[n + 1, (n - j)/2]/(n + 1); t[n_, k_] := Sum[c[n, j]*Binomial[j, k], {j, 0, n}]; Flatten[Table[t[n, k], {n, 0, 10}, {k, 0, n}]][[;; 66]] (* _Jean-François Alcover_, Jul 13 2011, after _Philippe Deléham_ *)

%o (PARI)

%o A053121(n,k) = if((n-k+1)%2==0, 0, (k+1)*binomial(n+1, (n-k)\2)/(n+1) );

%o T(n,k) = sum(j=k,n, A053121(n,j)*binomial(j,k));

%o for(n=0,10, for(k=0,n, print1(T(n,k), ", "))) \\ _G. C. Greubel_, Jul 21 2019

%o (Magma)

%o A053121:= func< n,k | ((n-k+1) mod 2) eq 0 select 0 else (k+1)*Binomial(n+1, Floor((n-k)/2))/(n+1) >;

%o T:= func< n,k | (&+[Binomial(j,k)*A053121(n,j): j in [k..n]]) >;

%o [T(n,k): k in [0..n], n in [0..10]]; // _G. C. Greubel_, Jul 21 2019

%o (Sage)

%o def A053121(n, k):

%o if (n-k+1) % 2==0: return 0

%o else: return (k+1)*binomial(n+1, ((n-k)//2))/(n+1)

%o def T(n,k): return sum(binomial(j,k)*A053121(n,j) for j in (k..n))

%o [[T(n,k) for k in (0..n)] for n in (0..10)] # _G. C. Greubel_, Jul 21 2019

%o (GAP)

%o A053121:= function(n,k)

%o if ((n-k+1) mod 2)=0 then return 0;

%o else return (k+1)*Binomial(n+1, Int((n-k)/2))/(n+1);

%o fi;

%o end;

%o T:= function(n,k)

%o return Sum([k..n], j-> Binomial(j,k)*A053121(n,j));

%o end;

%o Flat(List([0..10], n-> List([0..n], k-> T(n,k) ))); # _G. C. Greubel_, Jul 21 2019

%Y Cf. A001405, A035324, A054335.

%Y Row sums: A054341.

%K easy,nice,nonn,tabl

%O 0,4

%A _Wolfdieter Lang_, Mar 13 2000

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 19 16:38 EDT 2024. Contains 371794 sequences. (Running on oeis4.)