Evaluate$\sum_{n=0}^\infty\binom{3n}{n}x^n$ The question is:

Evaluate $$\sum_{n=0}^\infty\binom{3n}{n}x^n$$

After applying a few numbers as $x$ in Wolfram Alpha, I guess that the answer is probably:
$$2\sqrt{\frac1{4-27x}}\cos\left( \frac13\sin^{-1}\frac{3\sqrt{3x}}{2} \right)$$
that I can never prove. (Interestingly the above becomes simply $2\cos\frac{\pi}9$ when $x=\frac19$.)
(*) To give you the background, the motivation that led me to this question is the Algebra problem #$10$ in the Harvard-MIT Math Test in Feb. 2008, that concludes to:
$$\sum_{n=0}^\infty\binom{2n}{n}x^n=\frac1{\sqrt{1-4x}}$$
And then I thought about what if it was $3n$ instead of $2n$.
 A: We proceed with complex analysis. Assume that the series converges. 
$$\binom{3n}{n} x^n =\frac{1}{2\pi i}\int_{|z|=1} x^n\frac{(z+1)^{3n}}{z^{n+1}}dz =\frac{1}{2\pi i}\int_{|z|=1} \left(\frac{x(z+1)^3}{z}\right)^n\frac{1}{z} dz$$ 
Thus,
$$\sum_n \binom{3n}nx^n= \frac{1}{2\pi i}\int_{|z|=1} \frac{1}{z}\sum_n\left(\frac{x(z+1)^3}{z}\right)^n dz \\= \frac{1}{2\pi i}\int_{|z|=1}-\frac{1}{x z^3 + 3 x z^2 + 3 x z + x - z} dz
$$
Now, we can use the cubic formula and find where the integrand has singularities, then use the residue theorem in order to find the value of the contour integral, and thus the value of the sum. Unfortunately, these computations are going to be very tedious, though doable, and the result should be the same as what you have previously gotten.
Notice that in the case of $\binom{2n}{n},$ the above contour integral would only have a quadratic function in its denominator, and thus it would have been trivial to solve that integral, which explains why the formula for $\binom{3n}{n}$ is much more complicated than that of $\binom{2n}{n}$
A: This is too long for a comment.
Considering $$f_k=\sum_{n=0}^\infty\binom{kn}{n}x^n$$ where $k$ is a positive integer,we could notice nice patterns using the generalized hypergeometric function
$$f_4=\, _3F_2\left(\frac{1}{4},\frac{2}{4},\frac{3}{4};\frac{1}{3},\frac{2}{3};\frac{4^4
   }{3^3}x\right)$$
$$f_5=\,
   _4F_3\left(\frac{1}{5},\frac{2}{5},\frac{3}{5},\frac{4}{5};\frac{1}{4},\frac{2}{
   4},\frac{3}{4};\frac{5^5 }{4^4}x\right)$$
$$f_6=\,
   _5F_4\left(\frac{1}{6},\frac{2}{6},\frac{3}{6},\frac{4}{6},\frac{5}{6};\frac{1}{
   5},\frac{2}{5},\frac{3}{5},\frac{4}{5};\frac{6^6 }{5^5}x\right)$$ As you already noticed, this only simplifies for $k=2$ and $k=3$.
A: By Lagrange's inversion theorem
$$ f(z) = \sum_{k\geq 0}\binom{3k}{k}\frac{z^{2k+1}}{2k+1} $$
is the inverse function of $x-x^3$, and you are essentially dealing with $f'(z)$.
Through implicit differentiation it is not difficult to spot the connection between your series and the (trigonometric) solutions of a cubic polynomial. See also Bring radical.
