The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A132276 Triangle read by rows: T(n,k) is the number of paths in the first quadrant from (0,0) to (n,k), consisting of steps U=(1,1), D=(1,-1), h=(1,0) and H=(2,0) (0<=k<=n). 6

%I #37 Mar 29 2024 06:44:44

%S 1,1,1,3,2,1,6,7,3,1,16,18,12,4,1,40,53,37,18,5,1,109,148,120,64,25,6,

%T 1,297,430,369,227,100,33,7,1,836,1244,1146,760,385,146,42,8,1,2377,

%U 3656,3519,2518,1391,606,203,52,9,1,6869,10796,10839,8188,4900,2346,903,272

%N Triangle read by rows: T(n,k) is the number of paths in the first quadrant from (0,0) to (n,k), consisting of steps U=(1,1), D=(1,-1), h=(1,0) and H=(2,0) (0<=k<=n).

%C Mirror image of A059397. - _Emeric Deutsch_, Aug 18 2007

%C Row sums yield A059398.

%C Riordan matrix (g(x),x*g(x)), where g(x) = (1-x-x^2-sqrt(1-2*x-5*x^2+2*x^3+x^4))/(2*x^2). - _Emanuele Munarini_, May 05 2011

%D Lin Yang and S.-L. Yang, The parametric Pascal rhombus. Fib. Q., 57:4 (2019), 337-346.

%H G. C. Greubel, <a href="/A132276/b132276.txt">Table of n, a(n) for the first 50 rows, flattened</a>

%H Paul Barry, <a href="https://cs.uwaterloo.ca/journals/JIS/VOL26/Barry/barry601.html">On Motzkin-Schröder Paths, Riordan Arrays, and Somos-4 Sequences</a>, J. Int. Seq. (2023) Vol. 26, Art. 23.4.7.

%H W. F. Klostermeyer, M. E. Mays, L. Soltes and G. Trapp, <a href="http://www.fq.math.ca/Scanned/35-4/klostermeyer.pdf">A Pascal rhombus</a>, Fibonacci Quarterly, 35 (1997), 318-328.

%H Sheng-Liang Yang and Yuan-Yuan Gao, <a href="https://www.fq.math.ca/Papers1/56-4/yanggao1032018.pdf">The Pascal rhombus and Riordan arrays</a>, Fib. Q., 56:4 (2018), 337-347. See Fig. 1.

%F T(n,0) = A128720(n).

%F G.f.: G(t,z) = g/(1-t*z*g), where g = 1 +z*g +z^2*g +z^2*g^2 or g = c(z^2/(1-z-z^2)^2)/(1-z-z^2), where c = ((1-sqrt(1-4*z))/(2*z) is the Catalan function.

%F T(n,k) = T(n-1,k-1) + T(n-1,k) + T(n-1,k+1) + T(n-2,k). - _Emeric Deutsch_, Aug 18 2007

%F Column k has g.f. z^k*g^(k+1), where g = 1 +z*g +z^2*g +z^2*g^2 = (1 -z-z^2 -sqrt((1+z-z^2)*(1-3*z-z^2)))/(2*z^2).

%F T(n,k) = Sum_{i=0..(n-k)/2} (binomial(2*i+k,i)*(k+1)/(i+k+1)* Sum_{j=0..(n-k-2*i)} binomial(i+j+k,i+k)*binomial(j,n-k-2*i-j). - _Emanuele Munarini_, May 05 2011

%e T(3,2) = 3 because we have UUh, UhU and hUU.

%e Triangle begins:

%e 1;

%e 1, 1;

%e 3, 2, 1;

%e 6, 7, 3, 1;

%e 16, 18, 12, 4, 1;

%e 40, 53, 37, 18, 5, 1;

%e 109, 148, 120, 64, 25, 6, 1;

%e ...

%p g:=((1-z-z^2-sqrt((1+z-z^2)*(1-3*z-z^2)))*1/2)/z^2: G:=simplify(g/(1-t*z*g)): Gser:=simplify(series(G,z=0,13)): for n from 0 to 10 do P[n]:=sort(coeff(Gser, z,n)) end do: for n from 0 to 10 do seq(coeff(P[n], t, j), j = 0 .. n) end do; # yields sequence in triangular form

%t Flatten[Table[Sum[Binomial[2i+k,i(k+1)/(i+k+1)*Sum[Binomial[i+j+k,i+k]* Binomial[j,n-k-2i-j],{j,0,n-k-2i}],{i,0,(n-k)/2}],{n,0,15},{k,0,n}]] (* _Emanuele Munarini_, May 05 2011 *)

%t c[x_] := (1 - Sqrt[1 - 4*x])/(2*x); g[z_] := c[z^2/(1 - z - z^2)^2]/(1 - z - z^2); G[t_, z_] := g[z]/(1 - t*z*g[z]); CoefficientList[ CoefficientList[Series[G[t, x], {x, 0, 49}, {t, 0, 49}], x], t]//Flatten (* _G. C. Greubel_, Dec 02 2017 *)

%o (Maxima) create_list(sum(binomial(2*i+k,i) * (k+1)/(i+k+1) * sum(binomial(i+j+k,i+k) * binomial(j,n-k-2*i-j),j,0,n-k-2*i), i,0,(n-k)/2), n,0,15, k,0,n); /* _Emanuele Munarini_, May 05 2011 */

%o (PARI) for(n=0,10, for(k=0,n, print1(sum(i=0, (n-k)/2, (binomial(2*i+k,i) *(k+1)/(i+k+1)*sum(j=0, (n-k-2*i), binomial(i+j+k,i+k)*binomial(j,n-k-2*i-j)))), ", "))) \\ _G. C. Greubel_, Nov 29 2017

%Y Cf. A059397, A128720 (the leading diagonal).

%Y Cf. A059398.

%K nonn,tabl

%O 0,4

%A _Emeric Deutsch_, Aug 16 2007, Sep 03 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 June 4 10:10 EDT 2024. Contains 373092 sequences. (Running on oeis4.)