Hi again,
It seems that I have solved the problem with the expression of the integral in terms of the hypergeometric series. By a detailed expansion of the second series in the symbolic formula returned by Integrate, some rearranging of the terms, and taking
a limit of Sin[pi*z]/z (with z being the factor in the denominator that is zero) when z tends to zero, one obtains the tripartite formula:
F[m,n,K_]:=(2^(-2 (1+m+n)) * K^(1/2+m+n) * Gamma[-(1/2)-m-n] *
Gamma[1+m+n] * HypergeometricPFQ[{1+m+n,1+m+n},{3/2+2 m,3/2+2
n,2+2 m+2 n},K])/(Sqrt[?] *
Gamma[3/2+2 m] * Gamma[3/2+2 n])+(HypergeometricPFQ[{1/2,1/2,1},{
1/2-m-n,1+m-n,1-m+n,3/2+m+n},K])/(1+2 *(m+ n)) /; m[Equal]n
F[m,n,K_]:=(2^(-2 (1+m+n)) * K^(1/2+m+n)Gamma[-(1/2)-m-n] *
Gamma[1+m+n] * HypergeometricPFQ[{1+m+n,1+m+n},{3/2+2 m,3/2+2
n,2+2 m+2 n},K])/(Sqrt[?]
Gamma[3/2+2 m] * Gamma[3/2+2 n])+(Pochhammer[1/2,m-
n]^2/(Pochhammer[1/2-m-n,m-n] * Pochhammer[1+m-n,m-
n]*Pochhammer[1-m+n,m-n-1] * Pochhammer[3/2+m+n,m-
n])) * (K^(m-n)) * ((-1)^(m-n+1)) * (HypergeometricPFQ[{1/2+m-n,1/2+
m-n,1},{1/2-2 * n,1+2 * (m-n),1,3/2+2*m},K])/((m-n) * (1+2 * (m+ n))) /; m>n
F[m,n,K_]:=F[n,m,K] /; m<n
Unfortunately, I am now surprised to see that such defined function does not get evaluated faster than
the former expansion I had (at least for K < 1000). For K > 1000 both formulae are damned slow, and this is very bad news,
because I need to do calculations for K > 10^4. So, perhaps the only advantage of the above formulation is that
I don't have to worry about the number of terms to be summed in the expansions.
So, my new question is: Is there any method to speed up the evaluations (32 digits or more, and for K > 10^4)?
Ideally, it would be nice to derive some asymptotic expansion valid for large K, and use it for calculations. However, attempts to apply a relevant Series[] command to the above expressions lead to error messages.
Leslaw