\documentclass[reqno,a4paper]{amsart}
\usepackage{setspace,amssymb}
%\doublespacing%\onehalfspacing%
\usepackage{ifpdf}
\ifpdf
 \usepackage[hyperindex,pagebackref]{hyperref}%
\else
 \expandafter\ifx\csname dvipdfm\endcsname\relax
 \usepackage[hypertex,hyperindex,pagebackref]{hyperref}
 \else
 \usepackage[dvipdfm,hyperindex,pagebackref]{hyperref}
 \fi
\fi
\allowdisplaybreaks[4]
\theoremstyle{plain}
\newtheorem{thm}{Theorem}
\theoremstyle{remark}
\newtheorem{rem}{Remark}
\DeclareMathOperator{\td}{d}
\DeclareMathOperator{\li}{Li}
\newcommand{\bell}{\textup{B}}

\begin{document}

\title[An explicit formula for Bell numbers]
{An explicit formula for Bell numbers in terms of Stirling numbers and hypergeometric functions}

\author[B.-N. Guo]{Bai-Ni Guo}
\address[B.-N. Guo]{School of Mathematics and Informatics, Henan Polytechnic University, Jiaozuo City, Henan Province, 454010, China}
\email{\href{mailto: B.-N. Guo <bai.ni.guo@gmail.com>}{bai.ni.guo@gmail.com}, \href{mailto: B.-N. Guo <bai.ni.guo@hotmail.com>}{bai.ni.guo@hotmail.com}}
\urladdr{\url{http://www.researchgate.net/profile/Bai-Ni_Guo/}}

\author{Feng Qi}
\address[F. Qi]{College of Mathematics, Inner Mongolia University for Nationalities, Tongliao City, Inner Mongolia Autonomous Region, 028043, China; Department of Mathematics, School of Science, School of Science, Tianjin Polytechnic University, Tianjin City, 300387, China}
\email{\href{mailto: F. Qi <qifeng618@gmail.com>}{qifeng618@gmail.com}, \href{mailto: F. Qi <qifeng618@hotmail.com>}{qifeng618@hotmail.com}, \href{mailto: F. Qi <qifeng618@qq.com>}{qifeng618@qq.com}}
\urladdr{\url{http://qifeng618.wordpress.com}}

\begin{abstract}
In the paper, by two methods, the authors find an explicit formula for computing Bell numbers in terms of Kummer confluent hypergeometric functions and Stirling numbers of the second kind. Moreover, the authors supply an alternative proof of the well-known ``triangular'' recurrence relation for Stirling numbers of the second kind. In a remark, the authors reveal the combinatorial interpretation of the special values for Kummer confluent hypergeometric functions and the total sum of Lah numbers.
\end{abstract}

\keywords{explicit formula; Bell number; confluent hypergeometric function of the first kind; Stirling number of the second kind; combinatorial interpretation; alternative proof; recurrence relation; polylogarithm}

\subjclass[2010]{Primary 11B73; Secondary 33B10, 33C15}

\thanks{This paper was typeset using \AmS-\LaTeX}

\maketitle

\section{Introduction}

In combinatorics, Bell numbers, usually denoted by $\bell_n$ for $n\in\{0\}\cup\mathbb{N}$, count the number of ways a set with $n$ elements can be partitioned into disjoint and non-empty subsets. These numbers have been studied by mathematicians since the $19$th century, and their roots go back to medieval Japan, but they are named after Eric Temple Bell, who wrote about them in the $1930$s.
Every Bell number $\bell_n$ may be generated by
\begin{equation}\label{Bell-generate-function}
e^{e^x-1}=\sum_{k=0}^\infty \bell_k\frac{x^k}{k!}
\end{equation}
or, equivalently, by
\begin{equation}\label{Bell-generate-funct-2nd}
e^{e^{-x}-1}=\sum_{k=0}^\infty(-1)^k\bell_k\frac{x^k}{k!}.
\end{equation}
\par
In combinatorics, Stirling numbers arise in a variety of combinatorics problems. They are introduced in the eighteen century by James Stirling. There are two kinds of Stirling numbers: Stirling numbers of the first kind and Stirling numbers of the second kind.
Every Stirling number of the second kind, usually denoted by $S(n,k)$, is the number of ways of partitioning a set of $n$ elements into $k$ nonempty subsets, may be computed by
\begin{equation}\label{S(n-k)-explicit}
S(n,k)=\frac1{k!}\sum_{i=0}^k(-1)^i\binom{k}{i}(k-i)^n,
\end{equation}
and may be generated by
\begin{equation}\label{2stirling-gen-funct-exp}
\frac{(e^x-1)^k}{k!}=\sum_{n=k}^\infty S(n,k)\frac{x^n}{n!}, \quad k\in\{0\}\cup\mathbb{N}.
\end{equation}
\par
In the theory of special functions, the hypergeometric functions are denoted and defined by
\begin{equation}\label{hypergeom-f}
{}_pF_q(a_1,\dotsc,a_p;b_1,\dotsc,b_q;x)=\sum_{n=0}^\infty\frac{(a_1)_n\dotsm(a_p)_n} {(b_1)_n\dotsm(b_q)_n}\frac{x^n}{n!}
\end{equation}
for $b_i\notin\{0,-1,-2,\dotsc\}$ and $p,q\in\mathbb{N}$, where $(a)_0=1$ and $(a)_n=a(a+1)\dotsm(a+n-1)$ for $n\in\mathbb{N}$ and any complex number $a$ is called the rising factorial. Specially, the series
\begin{equation}
{}_1F_1(a;b;z)=\sum_{k=0}^\infty\frac{(a)_k}{(b)_k}\frac{z^k}{k!}
\end{equation}
is called Kummer confluent hypergeometric function.
\par
In combinatorics or number theory, it is common knowledge that Bell numbers $\bell_n$ may be computed in terms of Stirling numbers of the second kind $S(n,k)$ by
\begin{equation}\label{Bell-Stirling-eq}
\bell_n=\sum_{k=1}^nS(n,k).
\end{equation}
\par
In this paper, by two methods, we will find a new explicit formula for computing Bell numbers $\bell_n$ in terms of Kummer confluent hypergeometric functions ${}_1F_1(k+1;2;1)$ and Stirling numbers of the second kind $S(n,k)$ as follows.

\begin{thm}\label{Bell-Stirling-HyperG-thm}
For $n\in\mathbb{N}$, Bell numbers $\bell_n$ may be expressed as
\begin{equation}\label{BFStirling}
\bell_n =\frac1e\sum_{k=1}^n(-1)^{n-k}k!{}_1F_1(k+1;2;1)S(n,k).
\end{equation}
\end{thm}

It is well known in combinatorics that Stirling numbers of the second kind $S(n,k)$ satisfy the ``triangular'' recurrence relation
\begin{equation}\label{S(n,k)-Recur-eq}
S(n,k)=S(n-1,k-1)+kS(n-1,k), \quad k,n\ge1
\end{equation}
and
\begin{equation*}
S(n,0)=S(0,k)=0, \quad S(0,0)=1.
\end{equation*}
See~\cite[p.~208, Theorem~A]{Comtet-Combinatorics-74}. In~\cite[pp.~208\nobreakdash--209]{Comtet-Combinatorics-74}, the author provided an analytical proof and a combinatorial proof of~\eqref{S(n,k)-Recur-eq}. In Section~\ref{altern-proof-sect} of this paper, we will supply an alternative proof of~\eqref{S(n,k)-Recur-eq} by virtue of some properties of the polylogarithm $\li_n(z)$, where $\li_n(z)$ for $n\in\mathbb{Z}$ is defined by
\begin{equation}
\li_n(z)=\sum_{k=1}^\infty\frac{z^k}{k^n}
\end{equation}
over the open unit disk in the complex plane $\mathbb{C}$ and extended to the whole complex plane $\mathbb{C}$ uniquely via analytic continuation.

\section{Proofs of Theorem~\ref{Bell-Stirling-HyperG-thm}}

We now start out to verify Theorem~\ref{Bell-Stirling-HyperG-thm} as follows.

\begin{proof}[First proof]
Among other things, it was obtained in~\cite[Theorem~1.2]{simp-exp-degree-revised.tex} that the function
\begin{equation}\label{exp=k=sum-eq-degree=k+1}
H_k(z)=e^{1/z}-\sum_{m=0}^k\frac{1}{m!}\frac1{z^m}
\end{equation}
for $k\in\{0\}\cup\mathbb{N}$ and $z\ne0$ has the integral representation
\begin{equation}\label{exp=k=degree=k+1-int}
H_k(z)=\frac1{k!(k+1)!}\int_0^\infty {}_1F_2(1;k+1,k+2;t)t^k e^{-zt}\td t, \quad \Re(z)>0.
\end{equation}
See also~\cite[Section~1.2]{Bessel-ineq-Dgree-CM.tex} and~\cite[Lemma~2.1]{QiBerg.tex}. When $k=0$, the integral representation~\eqref{exp=k=degree=k+1-int} becomes
\begin{equation}\label{open-answer-1}
e^{1/z}=1+\int_0^\infty \frac{I_1\bigl(2\sqrt{t}\,\bigr)}{\sqrt{t}\,} e^{-zt}\td t, \quad \Re(z)>0,
\end{equation}
where $I_\nu(z)$ stands for the modified Bessel function of the first kind
\begin{equation}\label{I=nu(z)-eq}
I_\nu(z)= \sum_{k=0}^\infty\frac1{k!\Gamma(\nu+k+1)}\biggl(\frac{z}2\biggr)^{2k+\nu}
\end{equation}
for $\nu\in\mathbb{R}$ and $z\in\mathbb{C}$, see~\cite[p.~375, 9.6.10]{abram}, and $\Gamma$ represents the classical Euler gamma function which may be defined by
\begin{equation}\label{gamma-dfn}
\Gamma(z)=\int^\infty_0t^{z-1} e^{-t}\td t, \quad \Re z>0,
\end{equation}
see~\cite[p.~255]{abram}. Replacing $z$ by $e^x$ in~\eqref{open-answer-1} gives
\begin{equation}\label{open-answer-exp}
e^{1/e^{x}}=e^{e^{-x}}=1+\int_0^\infty \frac{I_1\bigl(2\sqrt{t}\,\bigr)}{\sqrt{t}\,} e^{-e^{x}t}\td t.
\end{equation}
Differentiating $n\ge1$ times with respect to $x$ on both sides of~\eqref{open-answer-exp} and~\eqref{Bell-generate-funct-2nd} gives
\begin{equation}\label{open-answer-exp-diff}
\frac{\td^ne^{e^{-x}}}{\td x^n}=\int_0^\infty \frac{I_1\bigl(2\sqrt{t}\,\bigr)}{\sqrt{t}\,} \frac{\td^ne^{-e^{x}t}}{\td x^n}\td t
\end{equation}
and
\begin{equation}\label{Bell-generate-funct-diff}
\frac{\td^ne^{e^{-x}}}{\td x^n}=e\sum_{k=n}^\infty(-1)^k\bell_k\frac{x^{k-n}}{(k-n)!}.
\end{equation}
 From~\eqref{open-answer-exp-diff} and~\eqref{Bell-generate-funct-diff}, it follows that
\begin{equation*}
e\sum_{k=n}^\infty(-1)^k\bell_k\frac{x^{k-n}}{(k-n)!}
=\int_0^\infty \frac{I_1\bigl(2\sqrt{t}\,\bigr)}{\sqrt{t}\,} \frac{\td^ne^{-e^{x}t}}{\td x^n}\td t.
\end{equation*}
Taking $x\to0$ in the above equation yields
\begin{equation}\label{bell-int-rep-eq}
(-1)^ne\bell_n =\int_0^\infty \frac{I_1\bigl(2\sqrt{t}\,\bigr)} {\sqrt{t}\,} \lim_{x\to0}\frac{\td^ne^{-e^{x}t}}{\td x^n}\td t.
\end{equation}
\par
In combinatorics, Bell polynomials of the second kind, or say, the partial Bell polynomials, $\bell_{n,k}(x_1,x_2,\dotsc,x_{n-k+1})$ are defined by
\begin{equation}
\bell_{n,k}(x_1,x_2,\dotsc,x_{n-k+1})=\sum_{\substack{1\le i\le n,\ell_i\in\mathbb{N}\\ \sum_{i=1}^ni\ell_i=n\\ \sum_{i=1}^n\ell_i=k}}\frac{n!}{\prod_{i=1}^{n-k+1}\ell_i!} \prod_{i=1}^{n-k+1}\Bigl(\frac{x_i}{i!}\Bigr)^{\ell_i}
\end{equation}
for $n\ge k\ge1$, see~\cite[p.~134, Theorem~A]{Comtet-Combinatorics-74}, and satisfy
\begin{equation}\label{Bell(n-k)}
\bell_{n,k}\bigl(abx_1,ab^2x_2,\dotsc,ab^{n-k+1}x_{n-k+1}\bigr) =a^kb^n\bell_{n,k}(x_1,x_n,\dotsc,x_{n-k+1})
\end{equation}
and
\begin{equation}\label{Bell-stirling}
\bell_{n,k}(1,1,\dotsc,1)=S(n,k),
\end{equation}
see~\cite[p.~135]{Comtet-Combinatorics-74}, where $a$ and $b$ are any complex numbers. The well-known Fa\`a di Bruno formula may be described in terms of Bell polynomials of the second kind $\bell_{n,k}(x_1,x_2,\dotsc,x_{n-k+1})$ by
\begin{equation}\label{Bruno-Bell-Polynomial}
\frac{\td^n}{\td x^n}f\circ g(x)=\sum_{k=1}^nf^{(k)}(g(x)) \bell_{n,k}\bigl(g'(x),g''(x),\dotsc,g^{(n-k+1)}(x)\bigr),
\end{equation}
see~\cite[p.~139, Theorem~C]{Comtet-Combinatorics-74}.
By Fa\`a di Bruno formula~\eqref{Bruno-Bell-Polynomial} and the identities~\eqref{Bell(n-k)} and~\eqref{Bell-stirling}, we have
\begin{align*}
\frac{\td^ne^{-e^{x}t}}{\td x^n}
&=\sum_{k=1}^n e^{-e^{x}t} \bell_{n,k}(-e^{x}t,-e^{x}t,\dotsc,-e^{x}t)\\
&= e^{-e^{x}t}\sum_{k=1}^n(-e^{x}t)^k \bell_{n,k}(1,1,\dotsc,1)\\
&= e^{-e^{x}t}\sum_{k=1}^n(-e^{x}t)^kS(n,k)\\
&\to e^{-t}\sum_{k=1}^n(-t)^kS(n,k)
\end{align*}
as $x\to0$. Substituting the above limit into~\eqref{bell-int-rep-eq} leads to
\begin{align*}
\bell_n &=\frac1e\sum_{k=1}^n(-1)^{n-k}S(n,k)\int_0^\infty I_1\bigl(2\sqrt{t}\,\bigr)t^{k-1/2}e^{-t}\td t\\
&=\frac1e\sum_{k=1}^n(-1)^{n-k}S(n,k)k!{}_1F_1(k+1;2;1).
\end{align*}
The required proof is complete.
\end{proof}

\begin{proof}[Second proof]
From the definition of the exponential function and the formula
\begin{equation}
\frac{k!}{z^{k+1}}=\int_0^\infty e^{-zt}t^k\td t,
\end{equation}
it was obtained that
\begin{equation}
e^{1/z}=1+\int_0^\infty e^{-zt}\sum_{k=0}^\infty\frac{t^k}{k!(k+1)!}\td t.
\end{equation}
Substituting $z$ with $e^x$ and using the exponential generating function for Bell polynomials
\begin{equation}
\sum_{n=0}^\infty\frac{\bell_n(t)}{n!}x^n=e^{t(e^x-1)}
\end{equation}
lead to
\begin{equation}
e\sum_{n=0}^\infty\frac{\bell_n(1)}{n!}(-x)^n=1+\int_0^\infty e^{-t}\sum_{n=0}^\infty\frac{\bell_n(-t)}{n!}x^n\sum_{k=0}^\infty\frac{t^k}{k!(k+1)!}\td t.
\end{equation}
Equating coefficients of $x^n$ and using the fact that
\begin{equation}
\bell_n(t)=\sum_{k=0}^\infty S(n,k)t^k
\end{equation}
and $\bell_n(1)=\bell_n$, the equation~\eqref{BFStirling} follows.
\end{proof}

\section{An alternative proof of the recurrence relation~\eqref{S(n,k)-Recur-eq}} \label{altern-proof-sect}
In~\cite{StirlingNumberoftheSecondKind.html}, the formula
\begin{equation}\label{StirlingNumberoftheSecondKind.html(17)}
\sum_{k=1}^nS(n,k)(k-1)!z^k=(-1)^n\li_{1-n}\biggl(1+\frac1z\biggr)
\end{equation}
for $n\ge2$ is listed. Making use of
\begin{equation}
\frac{\td}{\td x}\li_n(x)=\frac1x\li_{n-1}(x),
\end{equation}
see~\cite{Polylogarithm.html}, and differentiating with respect to $z=x$ on both sides of~\eqref{StirlingNumberoftheSecondKind.html(17)} give
\begin{equation*}
\sum_{k=1}^nS(n,k)k!x^{k-1}=(-1)^{n+1}\frac1{(1+x)x}\li_{-n}\biggl(1+\frac1x\biggr)
\end{equation*}
which may be reformulated as
\begin{equation}\label{StirlingNumberoftheSecondKind.html(17)-diff}
(1+x)\sum_{k=1}^nS(n,k)k!x^k=(-1)^{n+1}\li_{-n}\biggl(1+\frac1x\biggr).
\end{equation}
Comparing~\eqref{StirlingNumberoftheSecondKind.html(17)} with~\eqref{StirlingNumberoftheSecondKind.html(17)-diff} yields
\begin{gather*}
\sum_{k=1}^{n+1}S(n+1,k)(k-1)!x^k=(1+x)\sum_{k=1}^nS(n,k)k!x^k\\
=\sum_{k=1}^nS(n,k)k!x^k+\sum_{k=2}^{n+1}S(n,k-1)(k-1)!x^k\\
=S(n,1)x+S(n,n)n!x^{n+1}+\sum_{k=2}^n[kS(n,k)+S(n,k-1)](k-1)!x^k\\
=x+n!x^{n+1}+\sum_{k=2}^n[kS(n,k)+S(n,k-1)](k-1)!x^k.
\end{gather*}
This implies that $S(n,1)=S(n,n)=1$ and
\begin{equation*}
S(n+1,k)=S(n,k-1)+kS(n,k), \quad k,n\ge2.
\end{equation*}
Thus, we recover the recurrence relation~\eqref{S(n,k)-Recur-eq}.

\section{Remarks}

\begin{rem}
In view of the formula~\eqref{Bell-Stirling-eq}, it is not clear why the new formula~\eqref{BFStirling} is of interest for computing $B_n$. Changing the point of view, it could be of interest to know that the sum on the right side of~\eqref{BFStirling} evaluates to Bell number $B_n$.
\end{rem}

\begin{rem}
The equation~\eqref{BFStirling} may be rewritten as
\begin{equation}\label{BFStirlingA}
\sum_{k=1}^n(-1)^{n-k}a_kS(n,k)=\bell_n,
\end{equation}
where $a_k$ is sequence \href{http://oeis.org/A000262}{A000262} in the Online Encyclopedia of Integer Sequences. Such a sequence $a_k$ has a nice combinatorial interpretation: it counts ``the sets of lists, or the number of partitions of $\{1,2\dotsc,k\}$ into any number of lists, where a list means an ordered subset.'' In~\cite{Bell-Stirling-Lah-simp.tex}, it was obtained that
\begin{equation}
a_k=\sum_{\ell=1}^{k}L(k,\ell), \quad k\in\mathbb{N}.
\end{equation}
See also~\cite{Lah-Num-Int-Prop-Simp.tex}. This reveals the combinatorial interpretation of the special sequence $k!{}_1F_1(k+1;2;1)$ and the total sum $\mathcal{L}_k=\sum_{\ell=1}^{k}L(k,\ell)$ of Lah numbers $L(k,\ell)$.
\end{rem}

\begin{rem}
By the way, the authors of the paper~\cite{Exp-Diff-Ratio-Wei-Guo.tex} discovered some new results on the polylogarithm $\li_n(z)$.
\end{rem}

\begin{rem}
This paper is a revised and extended version of the preprint~\cite{Bell-Stirling-HyperGeom-JIS.tex}.
\end{rem}

\begin{thebibliography}{99}

\bibitem{abram}
M. Abramowitz and I. A. Stegun (Eds), \textit{Handbook of Mathematical Functions with Formulas, Graphs, and Mathematical Tables}, National Bureau of Standards, Applied Mathematics Series \textbf{55}, 10th printing, Dover Publications, 1972.

\bibitem{Comtet-Combinatorics-74}
L. Comtet, \emph{Advanced Combinatorics: The Art of Finite and Infinite Expansions}, Revised and Enlarged Edition, D. Reidel Publishing Co., 1974.

\bibitem{Lah-Num-Int-Prop-Simp.tex}
B.-N. Guo and F. Qi, \textit{Some integral representations and properties of Lah numbers}, available online at \url{http://arxiv.org/abs/1402.2367}.

\bibitem{Bell-Stirling-Lah-simp.tex}
F. Qi, \textit{An explicit formula for computing Bell numbers in terms of Lah and Stirling numbers}, available online at \url{http://arxiv.org/abs/1401.1625}.

\bibitem{Bell-Stirling-HyperGeom-JIS.tex}
F. Qi, \emph{An explicit formula for Bell numbers in terms of Stirling numbers and hypergeometric functions}, available online at \url{http://arxiv.org/abs/1402.2361}.

\bibitem{Bessel-ineq-Dgree-CM.tex}
F. Qi, \emph{Properties of modified Bessel functions and completely monotonic degrees of differences between exponential and trigamma functions}, Math. Inequal. Appl. \textbf{18} (2015), in press; Available online at \url{http://arxiv.org/abs/1302.6731}.

\bibitem{QiBerg.tex}
F. Qi and C. Berg, \emph{Complete monotonicity of a difference between the exponential and trigamma functions and properties related to a modified Bessel function}, {Mediterr. J. Math.} \textbf{10} (2013), no.~4, 1685\nobreakdash--1696; Available online at \url{http://dx.doi.org/10.1007/s00009-013-0272-2}.

\bibitem{simp-exp-degree-revised.tex}
F. Qi and S.-H. Wang, \emph{Complete monotonicity, completely monotonic degree, integral representations, and an inequality related to the exponential, trigamma, and modified Bessel functions}, Glob. J. Math. Anal. \textbf{2} (2014), no.~3, 91\nobreakdash--97; Available online at \url{http://dx.doi.org/10.14419/gjma.v2i3.2919}.

\bibitem{Exp-Diff-Ratio-Wei-Guo.tex}
C.-F. Wei and B.-N. Guo, \emph{Complete monotonicity of functions connected with the exponential function and derivatives}, {Abstr. Appl. Anal.} \textbf{2014} (2014), Article ID 851213, 5~pages; Available online at \url{http://dx.doi.org/10.1155/2014/851213}.

\bibitem{Polylogarithm.html}
E. W. Weisstein, \emph{Polylogarithm}, {MathWorld--A Wolfram Web Resource}; Available online at \url{http://mathworld.wolfram.com/Polylogarithm.html}.

\bibitem{StirlingNumberoftheSecondKind.html}
E. W. Weisstein, \emph{Stirling Number of the Second Kind}, {MathWorld--A Wolfram Web Resource}; Available online at \url{http://mathworld.wolfram.com/StirlingNumberoftheSecondKind.html}.

\end{thebibliography}

\end{document}
