Do I need to cite any results to use the following equality
$$\left( \sum_{n=1}^N a_n \right)^2 = \sum_{n=1}^N a_n^2 + 2 \sum_{j=1}^{N}\sum_{i=1}^{j-1} a_i a_j $$
where $a_n \in \mathbb{R}\setminus{}\left\{0\right\} $ or $a_n \in \mathbb{Z}\setminus{}\left\{0\right\} $ for $n = 1,\ldots{},N$? It is the definition of the second exponent of sum of $N$ numbers.
I believe I have found a result related to the above expansion. It looks like it is a special case of the following equation (let $x=1$ and $a_0 = a_i = 0$ for $i>N$ ) which is given in (8) in the Power Sum page of WolframMath:
$$\left( \sum_{n=0}^\infty a_n x^n \right)^2 = \sum_{n=0}^\infty a_n^2 x^{2n} + 2 \sum_{\substack{n=1\\i+j=n\\i<j}}^{\infty} a_i a_j x^n.$$
However, I could not find any citations to the reference of this result.