Calculate \(N_1 + (N_1+1) + (N_1+2) + \cdots + N_2\) for any positive integers \(N_1 \le N_2\).
For consecutive positive integers from \(N_1\) to \(N_2\), the sum is given by the arithmetic series formula:
Where:
This formula works because the average of the first and last term equals the average of all terms.
analyzemath.com — Interactive tool for summing consecutive integers with step-by-step explanation.