1
$\begingroup$

Is there a closed form expression for $\displaystyle\sum_{k=1}^K \binom{K}{k}2^{k(K-k)}$?

Any idea?

  • 0
    This looks very close to the binomial theorem for $(a+b)^K$ where $a = b = 2$.2017-01-05
  • 0
    @Mark except that this is $2^{kK-k^2}$, not $2^{k}\cdot 2^{K-k}=2^{k+K-k}$2017-01-05
  • 0
    @JMoravitz Yes, that's why I said very close.2017-01-05
  • 2
    Close only counts in horseshoes and hand grenades.2017-01-05
  • 0
    Have you tried calculating it for $K=1,2,3,4,5$ and looking for patterns, mo?2017-01-05
  • 0
    @GerryMyerson yes, for K=1, it is 1, for K=2, it is 5, for K=3 it is 25. But I don't see any special pattern.2017-01-05
  • 1
    Well, $1,5,25,\dots$ are the first few powers of five... thats a rather special pattern2017-01-05
  • 1
    @GerryMyerson, I have noted the expression, thanks!2017-01-05

1 Answers 1

4

This is not an answer but it is too long for a comment.

The first terms are $$\{1,5,25,161,1441,18305,330625,8488961,309465601,16011372545\}$$ and the on-line encyclopedia of integer sequences ($OEIS$) does not recognize this pattern.

A quick and dirty plot of the results (for $1 \leq K \leq 1000$) seems to show that, if $$a_K=\sum_{k=1}^K \binom{K}{k}2^{k(K-k)}$$ $\log(a_K)$ varies almost as a quadratic function of $K$.

Edit

For $10 \leq K \leq 1000$ (step of $10$), a linear regression $a_K=a+b K + c K^2$ gives
$$\begin{array}{clclclclc} \text{} & \text{Estimate} & \text{Standard Error} & \text{Confidence Interval} \\ a & -1.37425 & 0.03376 & \{-1.44125,-1.30724\} \\ b & +0.68959 & 0.00015 & \{+0.68929,+0.68990\} \\ c & +0.17329 & \approx 0 & \{+0.17329,+0.17329\} \\ \end{array}$$

Edit

One could notice that, in the regression, $b\approx \log(2)$ and $c=\frac 14 \log(2)$ as we could deduce from JimmyK4542's very interesting comment.

Using the bounds given by JimmyK4542 in his comment, a rather good approximation could be $$a_K\approx \frac{2^{\frac{K^2}4+K+\frac 32}}{\sqrt{\pi K}}$$ For $K=1000$, the exact result is $\approx 1.81\times 10^{75557}$ while the above approximation gives $\approx 1.71\times 10^{75557}$.

Back to regression, using $$\log(a_K)=a+b K+c K^2-d\log(K)$$ avery good fit can be obtained $$\begin{array}{clclclclc} \text{} & \text{Estimate} & \text{Standard Error} & \text{Confidence Interval} \\ a & 0.30589 & 0.00717 & \{0.29165,0.32014\} \\ b & 0.69292 & 0.00002 & \{0.69289,0.69295\} \\ c & 0.17329 & \approx 0 & \{0.17329,0.17329\} \\ d & 0.45106 & 0.00189 & \{0.44731,0.45481\} \\ \end{array}$$

Update

After reading Gerry Myerson's so interesting comment, looking at sequence $A000683$ in $OEIS$, the given asymptotics write $$a_K=1+\vartheta _3\left(0,\frac{1}{2}\right)\frac{2^{\frac{K^2}{4}+K+\frac{1}{2}} }{\sqrt{\pi K} }\qquad \qquad (K \, \,\text{even})$$ $$a_K=1+\vartheta _2\left(0,\frac{1}{2}\right)\frac{2^{\frac{K^2}{4}+K+\frac{1}{2}} }{\sqrt{\pi K} }\ \qquad \qquad (K \,\text{odd})$$

  • 1
    For even $K$, the largest term is the $K/2$-term which behaves like $\binom{K}{K/2}2^{K^2/4} \sim \sqrt{\tfrac{2}{\pi K}}2^{K^2/4+K}$. Hence the sum is asymptotically between $\sqrt{\tfrac{2}{\pi K}}2^{K^2/4+K}$ and $\sqrt{\tfrac{2K}{\pi}}2^{K^2/4+K}$. So $\log(a_k)$ does infact grow quadratically :).2017-01-05
  • 1
    @JimmyK4542. This is a very nice comment for sure !2017-01-05
  • 1
    @Jimmy, if you subtract 1 and divide by 4, you get http://oeis.org/A000683. If you don't divide by 4, you get http://oeis.org/A213441 Number of 2-colored graphs on $n$ labeled nodes. But oeis doesn't give the asymptotics so maybe someone should tell them.2017-01-05
  • 0
    @GerryMyerson. If I may ask : how did you think about this ?2017-01-05
  • 1
    And if you add 1, you get [eis.org/A047863](http://oeis.org/A047863): Number of labeled graphs with 2-colored nodes where black nodes are only connected to white nodes and vice versa. (and I thought of searching for the sequence produced by having the sum from 0 to K, instead of 1 to K)2017-01-05
  • 1
    @TypoCubeᵀᴹ. Amazing, isn't it ? Thanks for the link. Cheers.2017-01-05
  • 0
    I saw, Claude, that your numbers were all 1 modulo 4, at which point it was a reflex reaction to subtract 1, divide by 4, and consult oeis.2017-01-05
  • 1
    @GerryMyerson. I am very, very impressed, be sure ! But, why didn't you divide by $\sqrt \pi$ instead ? (joke). Thanks and cheers. :-)2017-01-05