I need to find the values of $a$ and $n$ in the following
$$ (1 + ax)^n = \sum_{i=0}^\infty \binom{2i}{i}x^i$$
How can I compare things and show that $a=-4$ and $n = -{1 \over 2}$. It's easy to expand $1 \over \sqrt{1 -4x}$ see that it's valid but I'm looking other way around.
$$(1+ax)^{n}=\sum_{n=0}^{\infty}C_{2n}^{n}x^{n}=\sum_{n=0}^{\infty}\frac{(2n)!}{n!n!}x^{n}$$ Derivated at both sides, we get the first equation: $$na(1+ax)^{n-1}=\sum_{n=1}^{\infty}\frac{n(2n)!}{n!n!}x^{n-1}$$ Derivated at both sides of the first equation, we get the second equation: $$n(n-1)a^{2}(1+ax)^{n-2}=\sum_{n=2}^{\infty}\frac{n(n-1)(2n)!}{n!n!}x^{n-2}$$ Let $x=0$ in above two equations, we can get that: $$na=2\,\,\text{and}\,\,n(n-1)a^{2}=12$$ then solve the equation and we can get that $a=-4$ and $n=-\frac{1}{2}$.