My friend gave me a problem of finding sum of 10 terms. I simplified the terms and got:
Terms: 3, 9, 18, 30, ... , 165
Differences: 6, 9, 12, ... , 30
I saw that the terms' differences are in AP. I got the sum 660 by simply adding them. Then I took some small numbers whose differences were in AP and tried to make a formula to find their sum. I got the following formula:
Sum of n terms (Tn) =
$n$a1 $ + \sum_{i=1}^{n-1} d_i + \sum_{i=1}^{n-2} d_i + \sum_{i=1}^{n-3} d_i + ...$$+ \sum_{i=1}^1 d_i$
Where dn is term of differences. Means, the terms of 6, 9, 12, ... , 30.
And a1 is first term of given numbers (Here -> 3).
I tried it in different examples and it works. But this can't work if there are a hunded terms. I want to make the formula more smaller and accurate. What should I do?