I was proving that $p(x) = 1 + x + \text{ ... } + x^{p-1}$, where $p$ is a prime number, is irreducible over the rationals, by using the translation $1 + (1 + x) + \text{ ... } + (1 + x)^{p-1}$. I managed to do it, but I would like to get a closed expression for this as a polynomial.
So far, I have: \begin{equation} \sum_{k = 0}^{p-1}{(1+x)^k} = \sum_{k = 0}^{p-1}{(\sum_{i = 0}^k{\binom{k}{i}x^i)}} \end{equation}
By inspection, it looks like the final result will be:
\begin{equation} \sum_{k = 0}^{p-1}{(1+x)^k} = \sum_{k = 0}^{p-1}{(\sum_{i=k}^{p-1}{\binom{i}{k}}} )x^k \end{equation}
I.E.
\begin{equation} \sum_{i=0}^{p-1}{\binom{i}{0}} + \sum_{i=1}^{p-1}{\binom{i}{1}} x + \text{ ... } + \sum_{i=p-1}^{p-1}{\binom{i}{p-1}}x^{p-1} \end{equation}
First of all, is this correct? If not, what would be the correct expression and why? And if it is correct, how can I get from the first equation to the second?
Thanks in advance!