There are 99 sequences to sum up.
The n-th sequence looks like this:
n(n+1) + (n+1)(n+2) + ... + 99(100).
We can solve this by summation:
n(n+1)+(n+1)(n+2)+⋯+99(100)=(1⋅2+2⋅3+...+99(100))−(1⋅2+2⋅3+...+n(n−1))=99∑k=1(k2+k)−n−1∑k=1(k2+k)=99(100)(199)6+99(100)2−n(n−1)(2n−1)6−n(n−1)2=−n33+n3+333300
Now we need to find the sum of this expression from n = 1 to p, where p is some positive integer.
p∑n=1(−n33+n3+333300)=p(−p3−2p2+p+3999602)12
We sum this from p = 1 to p = 100 and we get 1,508,082,510.
:)
To Guest: The first sequence is (2 + 3 + 4 + ... + 100) + (6 + 8 + 10 + ... + 200) + ... + (98 * 99 + 98*100 + 99*100).