Why is:$$\sum_{k=1}^\infty \sum_{n=k}^\infty \frac{1}{n(n+1)} k\, a_k =\sum_{1\le k\le n}\frac{1}{n(n+1)} k\, a_k=\sum_{n=1}^\infty \frac{1}{n+1}\; \frac{1}{n}\sum_{k=1}^n k\, a_k$$
What does the middle term mean and why is it equal to the first? I thought $\sum_{1\le k\le n}=\sum \limits_{k=1}^{n}$.
$$ \sum_{k=1}^\infty \sum_{n=k}^\infty = \sum_{n=1}^\infty \sum_{k=1}^n $$ where the intermediate notation is a lazy notation where actually a double sum ought to be used. This is an obvious resummation in a infinite triangular region spanned by $k$ and $n$, see e.g. the article by Choi "Notes on formal manipulations of double series" in https://doi.org/10.4134/CKMS.2003.18.4.781 .