What is the product of the following summation with itself:
$$\left(\sum_{k=2}^{n}k(k-1)a_{k}t^{k-2} \right) \left(\sum_{k=2}^{n}k(k-1)a_{k}t^{k-2}\right) $$
Is the above equal to the double summation below and if not, what is the correct proof or derivation? $$\sum_{k=2}^{2n}\left(\sum_{i=2}^{k}k(k-1)a_{i}a_{k-i}\right)t^{k-2}$$
I based my answer on the following rule for the product of two summations. However, it is also not clear how they derived this (i.e. where does the upper bound $2n$ come from in the first summation and the total second summation). What is the exact derivation of this step by step? $$\left(\sum_{k=0}^{n}a_{k} \right) \left(\sum_{k=0}^{n}b_{k}\right) = \sum_{k=0}^{2n}\left(\sum_{i=\max(0,k-n)}^{\min(n,k)}a_{i}b_{k-i}\right)$$