With "$n$" being a positive integer, evaluate the sum :
$C(n,0)+2C(n,1)+2^2C(n,2)+...+2^kC(n,k)+...+2^nC(n,n)$
Can someone teach me how to evaluate that using the binomial theorem? The ANSWER is $(1 + 2)^n = 3^n$ but I am not sure how they achieved this answer. Please list out all the steps taken with no shortcuts or left out steps. Step by step explanation if possible please.
Can someone also explain to me how we know that X = 2 and Y = 1 when we use the Binomial theorem to get that answer?