Given a generating function $G(z)$ for $\sum_{n=0}^{\infty} a_n z^n$, what could be said about the generating function of $\sum_{n=0}^{\infty} a_n^2 z^n$, what algebraic form should it have?
For example, given the generating function for $G(z) = \sum_{n=0}^{\infty} a_n z^n$, then the generating function for its cumulative sum, i.e. $\sum_{n=0}^{\infty} \left(\sum_{k}^n a_k\right) z^n$ is $\frac{1}{1-z} G(z)$, which could be derived by the formulae for the convolution product of two generating functions $$ F(z) G(z) = \sum_n \left( \sum_{k=0}^n f_k g_{n-k} \right) z^n $$ applied on the well know generating function of $(1,1,1,1,\ldots)$ $$ \sum_{n=0}^{\infty} z^n = \frac{1}{1-z}. $$ But I am looking for a formulae for the pointwise product to solve my problem?