Help find closed form for:$\sum_{n=0}^{\infty}{(-1)^n\left({{\pi\over 2}}\right)^{2n}\over (2n+k)!}=F(k)$ What is the closed form for
$$\sum_{n=0}^{\infty}{(-1)^n\left({{\pi\over 2}}\right)^{2n}\over (2n+k)!}=F(k)?$$
My try:
I have found a few values of $F(k)$, but was unable to find a closed form for it.
$F(0)=0$
$F(1)={2\over \pi}$
$F(2)=\left({2\over \pi}\right)^2$
$F(3)=\left({2\over \pi}\right)^2-\left({2\over \pi}\right)^3$
$F(4)={1\over 2}\left({2\over \pi}\right)^2-\left({2\over \pi}\right)^4$
$F(5)={1\over 6}\left({2\over \pi}\right)^2-\left({2\over \pi}\right)^4+\left({2\over \pi}\right)^5$

The sum can also be expressed in terms of the Regularized Incomplete Gamma function ($Q(a,z)$).
In fact, premised that for a general function of a integer $f(k)$ we have
$$
\begin{gathered}
  \frac{{\left( {i^{\,k}  + \left( { - i} \right)^{\,k} } \right)}}
{2}f(k) = \left( {\frac{{e^{\,i\,k\frac{\pi }
{2}}  + e^{\, - \,i\,k\frac{\pi }
{2}} }}
{2}} \right)f(k) = \cos \left( {k\frac{\pi }
{2}} \right)f(k) =  \hfill \\
   = \left[ {k = 2j} \right]\left( { - 1} \right)^{\,j} f(2j)\quad \left| {\;k,j\; \in \;\;\mathbb{Z}\,} \right. \hfill \\ 
\end{gathered} 
$$
and that the Lower Incomplete Gamma function can be expressed as:
$$
\begin{gathered}
  \gamma (s,z) = \int_{\,0\,}^{\,z\,} {t^{\,s - 1} \;e^{\, - \,t} dt}  =  \hfill \\
   = z^{\,s} \;e^{\,\, - z} \;\Gamma (s)\;\sum\limits_{0\, \leqslant \,k} {\frac{{z^{\,k} }}
{{\Gamma (s + k + 1)}}}  = \frac{{z^{\,s} \;e^{\,\, - z} }}
{s}\sum\limits_{0\, \leqslant \,k} {\frac{{z^{\,k} }}
{{\left( {s + 1} \right)^{\,\overline {\,k\,} } \,}}}  =  \hfill \\
   = z^{\,s} \;e^{\,\, - z} \sum\limits_{0\, \leqslant \,k} {\frac{{z^{\,k} }}
{{s^{\,\overline {\,k + 1\,} } \,}}}  = z^{\,s} \sum\limits_{0\, \leqslant \,j} {\frac{{\left( { - 1} \right)^{\,j} }}
{{\,\left( {s + j} \right)}}\frac{{z^{\,j} }}
{{j!}}}  \hfill \\ 
\end{gathered} 
$$
we can then write
$$
\begin{gathered}
  F(x,m) = \sum\limits_{0\, \leqslant \,k} {\left( { - 1} \right)^{\,k} \frac{{x^{\,2k} }}
{{\left( {2k + m} \right)!}}}  =  \hfill \\
   = \frac{1}
{2}\left( {\sum\limits_{0\, \leqslant \,k} {\frac{{\left( {i\,x} \right)^{\,k} }}
{{\left( {k + m} \right)!}}}  + \sum\limits_{0\, \leqslant \,k} {\frac{{\left( { - \,i\,x} \right)^{\,k} }}
{{\left( {k + m} \right)!}}} } \right) =  \hfill \\
   = \frac{1}
{{2\,\Gamma (m)}}\left( {\frac{{e^{\,\,i\,x} \,\gamma (m,i\,x)}}
{{\left( {i\,x} \right)^{\,m} }} + \frac{{e^{\, - \,i\,x} \,\gamma (m, - i\,x)}}
{{\left( { - i\,x} \right)^{\,m} }}} \right) =  \hfill \\
   = \frac{1}
{{\left| x \right|^{\,\,m} }}\,\operatorname{Re} \left( {e^{\,\,i\,x} e^{\,\, - \,i\,m\,\left( {sign(x)\pi /2} \right)} \,\frac{{\gamma (m,i\,x)}}
{{\Gamma (m)}}} \right) =  \hfill \\
   = \frac{1}
{{\left| x \right|^{\,\,m} }}\,\operatorname{Re} \left( {e^{\,\,i\,x} e^{\,\, - \,i\,m\,\left( {sign(x)\pi /2} \right)} \,\left( {1 - Q(m,i\,x)} \right)} \right) \hfill \\ 
\end{gathered} 
$$
So, for $x=\pi /2$ we get
$$
\begin{gathered}
  F(\pi /2,m) = \sum\limits_{0\, \leqslant \,k} {\left( { - 1} \right)^{\,k} \frac{{\left( {\pi /2} \right)^{\,2k} }}
{{\left( {2k + m} \right)!}}}  =  \hfill \\
   = \left( {\frac{2}
{\pi }} \right)^{\,\,m} \,\operatorname{Re} \left( {e^{\,\, - \,i\,\left( {m - 1} \right)\,\left( {\pi /2} \right)} \,\frac{{\gamma (m,i\,\pi /2)}}
{{\Gamma (m)}}} \right) =  \hfill \\
   = \left( {\frac{2}
{\pi }} \right)^{\,\,m} \,\operatorname{Re} \left( {e^{\,\, - \,i\,\left( {m - 1} \right)\,\left( {\pi /2} \right)} \,\left( {1 - Q(m,i\,\pi /2)} \right)} \right) \hfill \\ 
\end{gathered} 
$$
example with $m=5$
$$
\begin{gathered}
  F(\pi /2,5) = \sum\limits_{0\, \leqslant \,k} {\left( { - 1} \right)^{\,k} \frac{{\left( {\pi /2} \right)^{\,2k} }}
{{\left( {2k + 5} \right)!}}}  =  \hfill \\
   = \left( {\frac{2}
{\pi }} \right)^{\,\,5} \,\operatorname{Re} \left( {e^{\,\, - \,i\,4\,\left( {\pi /2} \right)} \,\left( {1 - Q(5,i\,\pi /2)} \right)} \right) =  \hfill \\
   = \left( {\frac{2}
{\pi }} \right)^{\,\,5} \,\operatorname{Re} \,\left( {1 - \frac{1}
{{24}}\left( {12\,\pi  - \frac{1}
{2}\pi ^{\,3}  + i\left( {3\pi ^{\,2}  - \frac{1}
{{16}}\pi ^{\,4}  - 24} \right)} \right)} \right) =  \hfill \\
   = \left( {\frac{2}
{\pi }} \right)^{\,\,5} \left( {1 - \,\frac{\pi }
{2} + \frac{1}
{{48}}\pi ^{\,3} } \right) = \left( {\frac{2}
{\pi }} \right)^{\,\,5}  - \,\left( {\frac{2}
{\pi }} \right)^{\,\,4}  + \frac{1}
{6}\left( {\frac{2}
{\pi }} \right)^{\,2}  \hfill \\ 
\end{gathered} 
$$
which matches with the value given by Zaid Alyafeai,
 as well as with the fomula indicated by Igor Rivin
$$
\begin{gathered}
  F(\pi /2,5) = \sum\limits_{0\, \leqslant \,k} {\left( { - 1} \right)^{\,k} \frac{{\left( {\pi /2} \right)^{\,2k} }}
{{\left( {2k + 5} \right)!}}}  = \left( {\frac{2}
{\pi }} \right)^{\,\,5}  - \,\left( {\frac{2}
{\pi }} \right)^{\,\,4}  + \frac{1}
{6}\left( {\frac{2}
{\pi }} \right)^{\,2}  =  \hfill \\
   = 0.007860176 \cdots  =  \hfill \\
   = \frac{1}
{{5!}}{}_1F_2 \left( {1\;;\;\frac{5}
{2} + \frac{1}
{2},\;\frac{5}
{2} + 1\;;\; - \frac{1}
{4}\left( {\frac{\pi }
{2}} \right)^{\,2} } \right) \hfill \\ 
\end{gathered} 
$$
and concerning the latter, a computer calculation over multiple values of $m$ and $x$ shows a full match.
