The following is part of a proof that the number of ways of associating a product with $n$ terms (different ways of inserting parentheses) is $$ a_1 = 1,\ a_n = \frac{1}{n} \binom{2n-2}{n-1},$$ and the relationship$$ a_{n+1} = a_1a_n + a_2a_{n-1} + a_3a_{n-2} + \cdots + a_na_1$$ is already established.
The proof starts with the generating function $$f_A(x) = \sum_{n=1}^\infty a_nx^n,$$ then by the relationship, $$f_A(x) = x + \sum_{n=2}^\infty (a_1a_{n-1} + \cdots + a_{n-1}a_1)x^n.$$ I am unclear about the next step: $$f_A(x) = x + \left(\sum_{n=1}^\infty a_nx^n\right)\left(\sum_{n=1}^\infty a_nx^n\right).$$
I tried using an upper bound of three in each expression. For the first expression I obtained $$a_1^2x^2 + 2a_1a_2x^3.$$ For the second expression I obtained $$a_1^2x^2 + 2a_1a_2x^3 + a_2^2x^4 + 2a_2a_3x^5 + a_3^2x^6.$$ As it appears the first two terms are the same. Can we ignore the extra terms as the upper bound approaches infinity?

Instead of truncating each series, perhaps a better way to think about it is the following: what is the coefficient of $x^k$ in $(\sum_{n=1}^\infty a_n x^n)^2 = \sum_{n=1}^\infty \sum_{m=1}^\infty a_n a_m x^{n+m}$? You would have to add all the terms of the form $a_n a_m x^{n+m}$ where $n+m=k$.