This article was reviewed by Grace Imson, MA and by wikiHow staff writer, Aly Rusciano. Grace Imson is a math teacher with over 40 years of teaching experience. Grace is currently a math instructor at the City College of San Francisco and was previously in the Math Department at Saint Louis University. She has taught math at the elementary, middle, high school, and college levels. She has an MA in Education, specializing in Administration and Supervision from Saint Louis University.
This article has been fact-checked, ensuring the accuracy of any cited facts and confirming the authority of its sources.
This article has been viewed 725,444 times.
Learning to add the integers from 1 to can be a helpful skill, whether you’re working on math homework or preparing for a standardized test. Since integers are whole numbers, there’s no need to worry about fractions or decimals—just decide which formula will help you answer your problem best. Then, plug the integer from the problem into the place and solve the equation. Still confused? Follow the steps and examples below.
Sum of Integers from 1 to n Formula
To find the sum of first , use this formula: S () = ( +1) / 2. In this case, S equals the sum of the consecutive integers and equals the number of integers.
Steps
-
Identify the arithmetic sequence. Look at the range of numbers you're trying to add together. If you'd like to use a formula to sum the integers, ensure that the numbers progress in a constant amount.[1]
- For example, 5, 6, 7, 8, 9 is a series, and so is 17, 19, 21, 23, 25.
- You couldn't use 5, 6, 9, 11, 14 because the progression isn't constant.
-
Define for your sequence. To use a formula to find the sum of 1 to , choose the largest integer to be .
- For example, if you try adding all the integers from 1 to 100, will be 100 because it's the largest integer in the sequence.
- As a reminder, integers are whole numbers, so cannot be a decimal, fraction, or negative number.
Advertisement -
Identify how many integers you're adding. To sum the integers from your starting number to , determine how many terms you add. For example, if you're adding the first 200 integers, you'll have 200 plus 1 to equal 201 integers.[2]
- If you're adding the first integers from 1 to 12, you'll have 12 plus 1 to equal 13 terms.
-
Decide if you're adding exclusively. You may be asked to find the sum of a range of integers between two integers. If you're summing exclusively, you'll need to subtract 1 from your .[3]
- For example, if you're finding the sum of the integers from 1 to 100 exclusively, subtract 1 from 100 to get 99.
-
Define your formula for consecutive integers. Once you've defined as the largest integer you're adding, plug the number into the formula to sum consecutive integers: sum = ∗(+1)/2.[4]
- For example, if you're summing the first 100 integers, plug 100 into to get 100∗(100+1)/2.
- If you're finding the first 20 integers, use 20 for . Work 20∗(20+1)/2 to get 420/2. Your answer will be 210.
-
Set up a formula to calculate only even integers. If the problem asks you to find the sum of only the even integers in a sequence starting with 1, you'll need to use a different formula. Plug your highest integer into so: sum = ∗(+2)/4.[5]
- For example, if the problem asks you to find the sum of even integers from 1 to 20, use 20 as . Your formula will be 20∗22/4.
-
Define a formula to find the sum of odd integers. If the problem asks you to find the sum of only the odd integers, you'll need to find first. To find , add 1 to the highest number of the sequence. Then use it in this formula: sum = (+1)∗(+1)/4.[6]
- For example, to add the odd integers from 1 to 9, add 1 to 9. The equation will now look like 10∗(10)/4. Once you've worked the equation, you'll get 10∗(10)/4 to equal 25.
Community Q&A
-
QuestionWhat is the sum of the first n positive integers?wikiHow Staff EditorThis answer was written by one of our trained team of researchers who validated it for accuracy and comprehensiveness.
Staff AnswerwikiHow Staff EditorStaff AnswerThe formula for the sum of the first n positive integers is n(n+1)/2. This formula works for consecutive integers. -
QuestionWhat is the sum of squares formula?wikiHow Staff EditorThis answer was written by one of our trained team of researchers who validated it for accuracy and comprehensiveness.
Staff AnswerwikiHow Staff EditorStaff AnswerThe sum of squares is also known as the sum of squared deviation scores. The formula for calculating the sum of squares for a single set of scores is SS = ΣX^2 - ((ΣX)^2 / N). -
QuestionHow do you find the sum of n terms?wikiHow Staff EditorThis answer was written by one of our trained team of researchers who validated it for accuracy and comprehensiveness.
Staff AnswerwikiHow Staff EditorStaff AnswerTo find the sum of a series of arithmetic terms (that is, terms that increase or decrease by a constant amount each term), use the formula S˯n = n(a˯1 + a˯n)/2, where n is the number of terms, a˯1 is the first term in the sequence, and a˯n is the last term in the sequence.
Video
Tips
References
- ↑ https://www.mathsisfun.com/algebra/sequences-sums-arithmetic.html
- ↑ https://www.mathsisfun.com/algebra/sequences-sums-arithmetic.html
- ↑ https://www.mathsisfun.com/algebra/sequences-sums-arithmetic.html
- ↑ https://www.mathsisfun.com/algebra/sequences-sums-arithmetic.html
- ↑ https://www.maa.org/press/periodicals/convergence/sums-of-powers-of-positive-integers-introduction
- ↑ https://www.khanacademy.org/math/cc-eighth-grade-math/cc-8th-solving-equations/linear-equations-word-problems/v/sum-consecutive-integers
About This Article
To sum integers from 1 to N, start by defining the largest integer to be summed as N. Don't forget that integers are always whole and positive numbers, so N can't be a decimal, fraction, or negative number. Once you've defined the integer value of N, use the formula sum = (N × (N+1)) ÷ 2 to find the sum of all the integers between 1 and N! To learn how to use sums from 1 to N to find the sum of integers between 2 numbers, read on!
Reader Success Stories
-
"It has a comprehensive explanation about how to total up the natural numbers in positive range. Besides the formula for 1 to N, it also expands the formula for cases where summing N to N is inclusive and exclusive. "..." more