OFFSET
2,1
LINKS
Aubrey Blecher and Arnold Knopfmacher, Grid graphs of Catalan words, Online Journal of Analytic Combinatorics, Issue 20, 2025. 1-19. See Theorem 3.1 at p. 9.
FORMULA
a(n) = (3*binomial(2*n,n) + 5*binomial(2*n-2, n-1) - binomial(2*n+2, n+1))/2.
G.f.: (1 - x - 5*x^2)/(2*x) - (1 - 3*x - 5*x^2)/(2*x*sqrt(1-4*x)).
E.g.f.: (exp(2*x)*((1 + 5*x)*BesselI(0, 2*x) - (2 + 5*x)*BesselI(1, 2*x)) - 1 - 5*x)/2.
a(n) ~ 4^(n-1)/(2*sqrt(Pi*n)).
MATHEMATICA
a[n_]:=(3Binomial[2n, n]+5Binomial[2n-2, n-1]-Binomial[2n+2, n+1])/2; Array[a, 27, 2] (* or *)
CoefficientList[Series[(1-x-5x^2)/(2x)-(1-3*x-5x^2)/(2x*Sqrt[1-4x]), {x, 0, 28}], x]
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Stefano Spezia, Oct 25 2025
STATUS
approved
