Let $K(x)$ be the complete elliptic integral of the first kind with the following convention $$K(x):=\int_{0}^{\pi/2}\frac{\mathrm{d}\theta}{\sqrt{1-x\sin^{2}(\theta)}}.$$ For a research work, I would like to compute the Fourier-Legendre coefficients of $K(x)^{2}$, that is, integrals of the type $$\int_{0}^{1}K(x)^{2}P_{n}\left(2x-1\right)\mathrm{d}x$$ where $P_{n}(x)$ are the Legendre polynomials. For now, I'm only able to prove the following representation for odd $n$ $$\int_{0}^{1}K(x)^{2}P_{2k+1}(2x-1)\mathrm{d}x=\frac{1}{(2k+1)(k+1)}\,_{4}F_{3}\left(\left.{1,-k,k+\frac{3}{2},\frac{1}{2}\atop\frac{1}{2}-k,k+2,\frac{3}{2}}\right|1\right).$$ I tried to search some identities and to apply some classical results to this $_{4}F_{3}$ but I'm not able to find a closed form of such function (for closed form I intend some representation in terms of ratio of Gamma functions or in terms to functions strictly related to Gamma function).
So my question is:
does anyone know if this hypergeometric function admits a closed form?
Bonus question: for even $n$, for now, I have no idea to attack this problem, so any suggestions are welcome.
hypergeom([1,-k,k+3/2,1/2],[1/2-k,k+2,3/2],1)with values $$1,{\frac{14}{9}},{\frac{407}{225}},{\frac{12092}{6125}},{\frac{ 1456787}{694575}},{\frac{22144354}{10085229}}$$ – GEdgar Apr 06 '23 at 11:08$$-\int_{-\infty}^{0}K(x)^{2}, \frac{{2}F{1}\left(-n,-n,1,x\right)}{(x-1)^{1+n}} \mathrm dx$$
– Miracle Invoker Apr 06 '23 at 18:38