How can this sum be rewritten like this
$1 + 1 + 2 + 2 + · · · + l + l + (l + 1) + (l + 1) + l + ε$
$= 2\sum\limits_{i=1}^{l+1}i+l+ε$
$= (l+1)(l+2)+l+ε $
First of all I dont even understand how we can go from the first step to the second. To make this a bit more clear for myself I tried plugging in numbers into the second step like this. But I'm pretty its wrong-
$2\sum\limits_{i=1}^{l+1}i+l+ε$
$=2\sum\limits_{i=1}^{l+1}1+l+ε + 2 + l + ε $
...