OFFSET
0,3
COMMENTS
Number of lattice paths from (0,0) to (n,n) using steps (2,0),(0,2),(7,7).
Diagonal of the rational function 1 / (1 - x^2 - y^2 - x^7*y^7).
Diagonal of the rational function 1 / ((1-x^2*y)*(1-x^5*y^6) - y).
LINKS
Robert Israel, Table of n, a(n) for n = 0..3277
R. A. Sulanke, Moments of generalized Motzkin paths, J. Integer Sequences, Vol. 3 (2000), #00.1.
FORMULA
(n + 7)*a(n) + (-21 - 2*n)*a(n + 7) + (-4*n - 52)*a(n + 12) + (n + 14)*a(n + 14) = 0. - Robert Israel, Sep 09 2025
MAPLE
with(gfun):
g:= 1/sqrt((1-x^7)^2 - 4*x^2):
rec:= diffeqtorec(holexprtodiffeq(g, y(x)), y(x), a(n)):
f:= rectoproc(rec, a(n), remember):
map(f, [$0..50]); # Robert Israel, Sep 09 2025
MATHEMATICA
CoefficientList[Series[1/Sqrt[(1-x^7)^2-4x^2], {x, 0, 40}], x] (* Harvey P. Dale, Aug 09 2025 *)
PROG
(PARI) my(N=40, x='x+O('x^N)); Vec(1/sqrt((1-x^7)^2-4*x^2))
CROSSREFS
KEYWORD
nonn
AUTHOR
Seiichi Manyama, Apr 30 2025
STATUS
approved
