sum (n choose k)*2^k, k=0 to p