On 05.01.2012 19:01, Peter Luschny wrote:
Hm, in Maple 15 that code does not execute, G(2,1) gives me
"Error, (in hypergeom/check_parameters) function doesn't exist,
found the number 0 in the second list of parameters"
So I used
g := (n,m,x) -> (m/n)*2^(n-m)*binomial(2*n-1-m,n-1)*
Hypergeom([1/2+1/2*m, m-n, 1/2*m],[m, 1+m-2*n],x)
-1/2*binomial(-m+1+2*n,n)*binomial(n-2,n-1)*
Hypergeom([1,1,-1/2*m+3/2+n,-1/2*m+1+n],[-m+2+n, n+1,-n+2],x);
Then it works and gives me:
for n from 1 to 5 do seq(round(evalf(g(n,m,2))),m=1..n) od;
1
3, 1
14, 6, 1
77, 37, 9, 1
462, 238, 69, 12, 1
for n from 1 to 5 do seq(simplify(value( g(n,m,2) )),m=1..n) od;
1
3, 1
14, 6, 1
77, 37, 9, 1
462, 238, 69, 12, 1
What I can imagine (you have an old version and Maple certainly
worked on that hypgeom part as well):
Usually pFq for p=q+1 (as in your case) has a branch cut on the
real axis, starting in x=1, so your x=2 is *in* the branch cut.
Now Maple extends into the branch cut _counterclockwise_ seen
from the branch point (which x=1), if I remember correctly.
And that means: from below, i.e. limit(..., 2 + I*y, y=0,right).
May be there happens some difference between the (old) numerical
way and the symbolic way.
You may try by looking at 2 +- I* 2^(-k), k = 8,9,10, ...
But that may only affect the imaginary part (example: g(2,1,x)).
However in Maple 15 it works (up to notations as above).