In the question, compute the coefficient of $x^{7}$ in $\sqrt{1-7x}$
How come $\sqrt{1-7x}$ can result in a coefficient for $x^{7}$?
Is there some generating function that I don’t see? Or does it it work for any function?
The answer is $$ \left(\frac{1}{_2 C_7} \right) \cdot -7^{7} $$
I know the algorithm, but I don’t see how it works for square roots? As far as I understand, once you have your generating function you plug stuff into the extended binomial theorem assuming that there is a composite function. Then you multiply the combination by the coefficient from the original generating function.
Hence the answer, $ \left(\frac{1}{_2 C_7} \right) \cdot -7^{7} $
Letting $[x^n]\,f(x)$ denote the coefficient of $x^n$ in the Maclaurin series of $f(x)$, we have $$\begin{eqnarray*}[x^7]\sqrt{1-7x}&=&7^7\cdot [x^7]\sqrt{1-x}= 7^6\cdot[x^6]\frac{d}{dx}\sqrt{1-x}\\&=&-\frac{7^6}{2}[x^6]\frac{1}{\sqrt{1-x}}=\color{red}{-\frac{7^6}{2\cdot 4^6}\binom{12}{6}}\end{eqnarray*} $$ due to the well-known $\frac{1}{\sqrt{1-x}}=\sum_{n\geq 0}\frac{1}{4^n}\binom{2n}{n}x^n$.