$F(x) = \sum_{n=0}^{\infty}(-1)^{n}\frac{x^{2n+1}}{(2n+1)!}$. Find $G(x) = \sum_{n=0}^{\infty}g_nx^{n}$ if $F(G(x)) = x$. Specifically find a formula for $g_n$
I am learning about formal power series, so please don't use $\sin x = F(x)$ which I think is true here, hence we can easily get $G(x)$ using this way.
I tried $F(G(x)) = \sum_{n=0}^{\infty}(-1)^{n}\frac{G(x)^{2n+1}}{(2n+1)!}$ and somehow getting the coefficient of x as 1 and all other cofficients of $x^j$ as $0$. I am unable to do so. If I need to provide the tedious computation which is not leading me anywhere, I am happy to do so.
Hint: Differentiate to get $F'(G(x))G'(x) = 1$. Then differentiate again to get
$F''(G(x))G'(x)+F'(G(x))G''(x) = 0$
but note $F''(G(x)) = -F(G(x))$ (this secretly is true because $F$ is sine, but of course can be verified by differentiating the power series), so
$F'(G(x))G''(x) = -xG'(x)$ and multiplying both sides by $G'(x)$ gives
$G''(x) = -x(G'(x))^2$
which we can use to solve for the coefficients of $G(x)$.