$$\sum_{k=0}^n {n \choose k} \cdot (-1)^k \cdot 3^{n-k}$$
I tried generating the series. However, I don't know what to do beyond that.
$$\sum_{k=0}^n {n \choose k} \cdot (-1)^k \cdot 3^{n-k}$$
I tried generating the series. However, I don't know what to do beyond that.
Recall the binomial equality $$ \sum_{k=0}^n \binom nk x^k y^{n-k} = (x+y)^n $$ Now apply this for $x = -1$ and $y = 3$.