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!)
A093768 Positive first differences of the rows of triangle A088459, which enumerates symmetric Dyck paths. 7

%I #12 Oct 26 2017 14:35:38

%S 1,1,1,1,2,3,1,3,8,6,1,4,15,20,20,1,5,24,45,75,50,1,6,35,84,189,210,

%T 175,1,7,48,140,392,588,784,490,1,8,63,216,720,1344,2352,2352,1764,1,

%U 9,80,315,1215,2700,5760,7560,8820,5292,1,10,99,440,1925,4950,12375,19800

%N Positive first differences of the rows of triangle A088459, which enumerates symmetric Dyck paths.

%C Suggested by Bozydar Dubalski (slawb(AT)atr.bydgoszcz.pl). Related to walks on a square lattice: main diagonal forms A005558, secondary diagonals form A005559, A005560, A005561, A005562, A005563.

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

%F T(n, k) = C(n+1, ceiling(k/2))*C(n, floor(k/2)) - C(n+1, ceiling((k-1)/2))*C(n, floor((k-1)/2)) for n>=k>=0.

%e 1;

%e 1, 1;

%e 1, 2, 3;

%e 1, 3, 8, 6;

%e 1, 4, 15, 20, 20;

%e 1, 5, 24, 45, 75, 50;

%e 1, 6, 35, 84, 189, 210, 175;

%p A093768 := proc(n,k)

%p if k = 0 then

%p A088459(n,k);

%p else

%p A088459(n,k)-A088459(n,k-1);

%p end if;

%p end proc:

%p seq(seq(A093768(n,k),k=0..n-1),n=1..10) ; # _R. J. Mathar_, Apr 02 2017

%t T[n_, k_] := Binomial[n + 1, Ceiling[k/2]]*Binomial[n, Floor[k/2]] - Binomial[n + 1, Ceiling[(k - 1)/2]]*Binomial[n, Floor[(k - 1)/2]]; Table[T[n, k], {n, 0, 10}, {k, 0, n}] // Flatten (* _G. C. Greubel_, Oct 25 2017 *)

%o (PARI) {T(n,k) =binomial(n+1,ceil(k/2))*binomial(n,floor(k/2)) -binomial(n+1,ceil((k-1)/2))*binomial(n,floor((k-1)/2))}

%Y Cf. A088459, A005558-A005562, A005563 (column 3), A005564 (column 4), A005565 (column 5), A005566 (row sums).

%K nonn,tabl

%O 0,5

%A _Paul D. Hanna_, Apr 16 2004

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 8 17:52 EDT 2024. Contains 373227 sequences. (Running on oeis4.)