To solve the given problem, we will use the binomial theorem, which states that for any positive integer n and any real numbers a and b, we have:
(a+b)n=k=0∑nCnkan−kbk.
Let's apply the binomial theorem with a=1 and b=2:
(1+2)n=k=0∑nCnk1n−k2k=k=0∑nCnk2k=Cn0+2Cn1+22Cn2+…+2nCnn.
Therefore, we can simplify the left-hand side to obtain:
3n.