Find the sequence using generating functions

combinatoricsgenerating-functions

Find the sequence $(y_{k})_{k}$ that gives rise to the generating function $Y(s) = (3 – s)^{n}$, $n \in \mathbb{N}$.

Someone can help me? Thank you in advance.

Best Answer

We observe $Y(s)=(3-s)^n$ is a polynomial in $s$ of degree $n$. This implies the polynomial admits a representation \begin{align*} Y(s)=\sum_{k=0}^ny_k s^k \end{align*} Application of the binomial theorem to $Y(s)=(3-s)^n$ gives \begin{align*} Y(s)&=\sum_{k=0}^n\binom{n}{k}(-s)^k3^{n-k}\\ &=\sum_{k=0}^n\binom{n}{k}(-1)^k3^{n-k}s^k \end{align*} from which we deduce the sequence $(y_k)_k$ is the finite sequence \begin{align*} (y_k)_{0\leq k\leq n}=\color{blue}{\left(\binom{n}{k}(-1)^k3^{n-k}\right)_{0\leq k\leq n}} \end{align*}

Related Question