login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A057648
Number of excursions of length n on the upper-right part of the hexagonal lattice.
1
1, 0, 2, 2, 13, 34, 158, 594, 2665, 11558, 53320, 247488, 1181266, 5708884, 28049474, 139417402, 701063005, 3559326294, 18233244530, 94140532624, 489573775236, 2562613997512, 13493827469116, 71441865994904
OFFSET
0,3
COMMENTS
Excursions = walks from the origin to the origin.
The hexagonal lattice is the familiar 2-dimensional lattice in which each point has 6 neighbors. This is sometimes called the triangular lattice. - Sean A. Irvine, Jun 22 2022
FORMULA
G.f.: (1-2*x)*hypergeom([-1/2, 1/2],[2],16*x^2/(1-2*x)^2)/(4*x^2) - (2*x+1)*((1-6*x)*hypergeom([1/3, 2/3],[2],27*x^2*(2*x+1))+1/2)/(6*x^2). - Mark van Hoeij, Dec 08 2014
a(n) ~ (2*sqrt(3) - 3) * 2^n * 3^(n+2) / (Pi*n^3). - Vaclav Kotesovec, Apr 30 2024
MAPLE
gf:=(1-2*x)*hypergeom([-1/2, 1/2], [2], 16*x^2/(1-2*x)^2)/(4*x^2) - (2*x+1)*((1-6*x)*hypergeom([1/3, 2/3], [2], 27*x^2*(2*x+1))+1/2)/(6*x^2):
S:= series(gf, x, 103):
seq(coeff(S, x, j), j=0..100); # Robert Israel, Dec 08 2014
CROSSREFS
Sequence in context: A173466 A151367 A368957 * A282460 A327930 A068511
KEYWORD
nonn
AUTHOR
Cyril Banderier, Oct 12 2000
EXTENSIONS
Title corrected by Sean A. Irvine, Jun 22 2022
STATUS
approved