Sum of Positive Integers Calculator
About Sum of Positive Integers Calculator
The Sum of Positive Integers Calculator is used to calculate the sum of first n numbers or the sum of consecutive positive integers from n1 to n2.
Sum of Consecutive Positive Integers Formula
The sum of the first n numbers is equal to:
n(n + 1) / 2
The sum of consecutive positive integers from n1 to n2 is equal to:
n1 + (n1 + 1) + ... + n2 = n2(n2 + 1) / 2 - n1(n1 - 1) / 2