A337870 The number of random walks on the simple square lattice that start at the origin (0,0) and pass through (1,0) after 2n+1 steps before having returned to the origin.
1, 2, 16, 166, 1934, 24076, 312906, 4191822, 57433950, 800740450, 11319707546, 161841539812, 2335765140994, 33979681977530, 497696233487200, 7332776490675630, 108595186409772174, 1615573668169487898, 24132221328987714066
Offset: 0
Programs
-
Maple
g002894 := hypergeom([1/2,1/2],[1],16*x^2) ; g060150 := x*hypergeom([1,3/2,3/2],[2,2],16*x^2) ; 1/2/(g002894-g060150)-1/2/(g002894+g060150) ; taylor(%,x=0,40); L := gfun[seriestolist](%) ; # includes zeros of even steps
Comments