OFFSET
0,3
LINKS
M. Bousquet-Mélou and M. Mishna, Walks with small steps in the quarter plane, ArXiv 0810.4387 [math.CO], 2008.
FORMULA
G.f.: Int(Int((450*x^3+90*x^2-42*x-2)*(1+3*Int((1-2*x-15*x^2)^(1/2)*(x-1+((16*x^2+1)*(19872*x^6+3753*x^5-5565*x^4-510*x^3+294*x^2+20*x-8)*hypergeom([5/4, 7/4],[2],64*x^2*(1+x^2)/(16*x^2+1)^2)-10*x^2*(2880*x^6-2205*x^5-2139*x^4+423*x^3+45*x^2+12*x-8)*hypergeom([7/4, 9/4],[3],64*x^2*(1+x^2)/(16*x^2+1)^2))/(16*x^2+1)^(7/2))/ (225*x^3+45*x^2-21*x-1)^2,x))/(1-2*x-15*x^2)^(3/2),x),x)/(x^2*(x-1)). - Mark van Hoeij, Aug 27 2014
MATHEMATICA
aux[i_Integer, j_Integer, n_Integer] := Which[Min[i, j, n] < 0 || Max[i, j] > n, 0, n == 0, KroneckerDelta[i, j, n], True, aux[i, j, n] = aux[-1 + i, -1 + j, -1 + n] + aux[-1 + i, 1 + j, -1 + n] + aux[i, 1 + j, -1 + n] + aux[1 + i, -1 + j, -1 + n] + aux[1 + i, 1 + j, -1 + n]]; Table[Sum[aux[0, k, n], {k, 0, n}], {n, 0, 25}]
CROSSREFS
KEYWORD
nonn,walk
AUTHOR
Manuel Kauers, Nov 18 2008
STATUS
approved