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(2+Int(12*(1-x)*(1-2*Int((1-2*x-15*x^2)^(3/2)*((16*x^2+1)*(4680*x^6-1400*x^5-185*x^4-521*x^3+123*x^2+9*x-2)*hypergeom([9/4, 11/4],[3],64*x^2*(1+x^2)/(16*x^2+1)^2)-6*(-180*x^6+644*x^5+458*x^4-1622*x^3 +356*x^2-26*x-2)*x^2*hypergeom([11/4, 13/4],[4],64*x^2*(1+x^2)/(16*x^2+1)^2))/((16*x^2+1)^(11/2)*(1-x)^2),x))/(1-2*x-15*x^2)^(5/2),x),x),x)/((1+x)*x^2). - 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