cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A377857 Number of subwords of the form UUUD in nondecreasing Dyck paths of length 2n.

Original entry on oeis.org

0, 0, 0, 1, 5, 18, 60, 191, 589, 1775, 5257, 15360, 44394, 127171, 361595, 1021693, 2871245, 8031246, 22372344, 62096135, 171797257, 473928875, 1304007889, 3579517116, 9804791910, 26804181643, 73145473655, 199276078201, 542076556949, 1472491141770, 3994615719732
Offset: 0

Views

Author

Rigoberto Florez, Nov 09 2024

Keywords

Comments

A Dyck path is nondecreasing if the y-coordinates of its valleys form a nondecreasing sequence.

Crossrefs

Programs

  • Mathematica
    Table[If[n<3,0,n Fibonacci[2n-5]-LucasL[2n-6]], {n,0,30}]

Formula

a(n) = n*F(2*n-5) - L(2*n-6) for n>=3, where F(n) = A000045(n) and L(n) = A000032(n).
G.f.: x^3*(1 - x)^2*(1 + x)/(1 - 3*x + x^2)^2.
a(n) = A317408(n-2)-A317408(n-3) = A030267(n-2)+A030267(n-3). - R. J. Mathar, Dec 16 2024