Asymptotic value of the Shannon entropy I would like to evaluate the asymptotic value of the following sum:
$$f(N)=\frac{1}{2^N}\sum_{n=0}^{N} \binom{N}{n} \log_{2} \binom{N}{n}$$
This is related to the computation of the Shannon entropy. Any help would be greatly appreciated!
 A: Laplace's Method: For large $N$ the summand as function of $n$ is maximal at $n=\frac{N}{2}$. This can be seen by the Laplace-deMoivre approximation of the binomial
$$
{N \choose n}\sim 2^{N}\sqrt{\frac{2}{\pi N}} \exp\left (-\frac{2}{N}\left(n-\frac{N}{2}\right)^2\right )
$$
Thus replace $n=\frac{N}{2}+\tau$.
And indeed, when expanding the natural logarithm of the summand in $\tau$ up to second order in $\tau$, one gets an expression with a constant term and a (negative) term proportional to $\tau^2$, no linear term. It gets quite bulky (to bulky for me to type), but your favourite algebraic calculation tool does that for you.
What is left, is integrating the exponential of the last expression (remember we expanded the natural logarithm of the summand) from $\tau=-\infty$ to $+\infty$. The integral converges (the factor at $\tau^2$ is negative). Then expand the result of the integration for large $N$. Again the algebraic tool will help. The result is
$$
N-\frac{\log_2 N}{2}+\frac{1}{2}-\frac{1 + \ln \pi}{2 \ln 2}+O(N^{-1})
$$
I did the calculations with Mathematica. If desired, I would be happy to give more detailed description later. 
A: What you have is related to the entropy $\mathbb{H}(N,p)$ of a Binomial with uniform distribution $p=1/2,$ which is
$$
\sum_{n=0}^{N}\frac{\binom{N}{n}}{2^N}
\log_2 \left(\frac{\binom{N}{n}}{2^N}\right).
$$
There is some recent work by Cheragchi which has looked at this, see the arXiv paper here. For a general $p\in[0,1],$ he derives the expressions
$$
\mathbb{H}(N,p)=N h_2(p)+\int_0^\infty\left(\frac{(1-p+pe^{-t})^N+(p+(1-p)e^{-t})^N-e^{-Nt}-1}{t(e^t-1)}\right)\,dt,
$$
and
$$
\mathbb{H}(N,p)=N h_2(p)+\sum_{j=2}^{\infty} \binom{N}{j}(-1)^jc(j)(p^j+(1-p)^j-1),
$$
where $h(\cdot)$ is the binary entropy function, and 
$$
c(j)=-\sum_{k=0}^{j-1}(-1)^k \binom{j-1}{k}\log(k+1).
$$
