Let $\{X_n, n \geq 1\}$ be iid Bernoulli random variables with $\Pr(X_1 = 1) = p = 1 - \Pr(X_1 = 0)$ and let $S_n = \sum\limits_{i=1}^n X_i$ be the number of successes in $n$ trials. Show $S_n$ has a binomial distribution by the following methods:
1.) Prove for $n\geq0,$ $1\leq{k}\leq{n+1}$
$$\Pr(S_{n+1} = k) = p\Pr(S_n = k - 1) + q\Pr(S_n = k)\text{ where }q = 1-p.$$
2.) Solve the recursion using generating functions.
For the first method, I think I need to use convolution of $n + 1$ Bernoulli rvs, but I cannot immediately see the progression. For the second method, I don't exactly understand how to proceed either. This is problem 1.2 from Resnick's Adventures in Stochastic Processes.
Using generating functions: Let $P$ be the generating function for one Bernoulli trial, i.e. for one $X_i$: we have $$P(s) = q + ps,$$ as the outcome is $X_i = 0$ with probability $q$, and $1$ with probability $p$.
Then the generating function for the sum of $n$ trials is $$P(s)^n = (q + ps)^n = \sum_{r=0}^{n}\binom{n}{r}(ps)^r q^{n-r},$$ in which the coefficient of $s^k$ is $\binom{n}{k}p^k q^{n-k}$, which is the generating function for a binomial distribution.