2
$\begingroup$

Original question is a duplicate of this question. Please refer to after the edit


Original question:

I was investigating formulas of the form $\sum_{k=0}^n k^a \binom{n}{k}$ after noticing on Wikipedia that $\sum_{k=0}^n k \binom{n}{k} = n2^{n-1}$ and $\sum_{k=0}^{n} k^2 \binom{n}{k} = (n+n^2)2^{n-2}$.

Wolfram Alpha notes that for $a=3$, $\sum_{k=0}^n k^3 \binom{n}{k} = n^2 (n + 3)2^{n-3}$ but for $a=4,5$ then switches to $\sum_{k=0}^n k^4 \binom{n}{k} = n\ _4 F_3(2, 2, 2, 1 - n;1, 1, 1;-1)$ and $\sum_{k=0}^n k^5 \binom{n}{k} = n\ _5 F_4(2, 2, 2, 2, 1 - n;1, 1, 1, 1;-1)$.

My conjecture is that, in general, $$\sum_{k=0}^n k^a \binom{n}{k} = n\ _a F_{a-1}(2, 2, ..., 2, 1 - n;1, 1, ..., 1; -1)$$ Which is some kind of polynomial since one of the numerators there is non-positive (and I suspect Wolfram Alpha just spat this function out so as to avoid calculating the polynomial outright), but I don't know how to use this function for computing with a given $n$ and $a$ (though I begin to suspect there isn't an easy way to do so).

I'm also wondering if there's a formula at all for $\sum_{k=0}^n k^n \binom{n}{k}$.

Any suggestions or advice welcome.


EDIT

Since my original question already has an answer, I'd like to pivot to asking how the resulting identity works. $$\begin{align} \newcommand{\stirtwo}[2]{\left\{{#1}\atop{#2}\right\}} \sum_{k=0}^n k^a \binom{n}{k} &= n\ _a F_{a-1}(2, 2, ..., 2, 1 - n;1, 1, ..., 1; -1)\\ &=2^{n-m}\sum_{j=0}^m\binom{n}{j}2^{m-j}\stirtwo{m}{j}j!\\ \end{align}$$

$\endgroup$
7
  • 3
    $\begingroup$ Check these: math.stackexchange.com/q/1400588/42969, math.stackexchange.com/q/923115/42969, math.stackexchange.com/q/355262/42969 – all found with Approach0 $\endgroup$
    – Martin R
    Commented Sep 20, 2023 at 8:06
  • 1
    $\begingroup$ If $p_a(x)=x(x-1)\cdots(x-a+1),$ the "falling factorial," then $\sum_{k=0}^n p_a(k)\binom nk=p_a(n)2^{n-a}.$ So you really to to write $x^a$ in the basis $p_0,p_1,\dots,p_a$ to find your result. So $x^3=x(x-1)(x-2)+3x(x-1)+x$ gives $$\sum k^3\binom nk=(n(n-1)(n-2)+6n(n-1)+4n)2^{n-3}$$ $\endgroup$ Commented Sep 20, 2023 at 8:54
  • $\begingroup$ @QiaochuYuan I think that answers the main question, though I am still curious on how the hypergeometric function relates to the Stirling numbers of the second kind answer $\endgroup$
    – Sherlock9
    Commented Sep 20, 2023 at 9:12
  • $\begingroup$ @Sherlock9: Your conjecture is sound. I just wanted to add a corresponding answer, but regrettably this post has been closed. $\endgroup$ Commented Sep 20, 2023 at 18:58
  • 1
    $\begingroup$ Please do not change the question just to avoid closure. If you have a new question, ask it as one. $\endgroup$
    – Nij
    Commented Sep 20, 2023 at 19:51

1 Answer 1

0
$\begingroup$

$$S_n=\sum_{k=0}^n k^n \binom{n}{k}$$ is sequence $A072034$ in $OEIS$

Vaclav Kotesovec proposed a superb approximation $$S_n \sim \frac{1}{\sqrt{1+W\left(\frac{1}{e}\right)}}\left(\frac{n}{e\, W\left(\frac{1}{e}\right)}\right)^n$$ where $W(.)$ is Lambert function.

$\endgroup$

Not the answer you're looking for? Browse other questions tagged .