How to Sum the Integers from 1 to N (What Formula to Use)

Download Article
The easiest way to find the sum of first natural numbers
Download Article

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.

Method 1
Method 1 of 2:

Finding the Sum of Consecutive Integers

Download Article
  1. How.com.vn English: Step 1 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.
  2. How.com.vn English: Step 2 Define                     n              {\displaystyle n}   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
  3. How.com.vn English: Step 3 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.
  4. How.com.vn English: Step 4 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.
  5. How.com.vn English: Step 5 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.
  6. Advertisement
Method 2
Method 2 of 2:

Finding the Sum of Other Integers

Download Article
  1. How.com.vn English: Step 1 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.
  2. How.com.vn English: Step 2 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.
  3. Advertisement

Community Q&A

Search
Add New Question
  • Question
    What is the sum of the first n positive integers?
    How.com.vn English: How.com.vn Staff Editor
    This answer was written by one of our trained team of researchers who validated it for accuracy and comprehensiveness.
    How.com.vn English: How.com.vn Staff Editor
    How.com.vn Staff Editor
    Staff Answer
    The formula for the sum of the first n positive integers is n(n+1)/2. This formula works for consecutive integers.
  • Question
    What is the sum of squares formula?
    How.com.vn English: How.com.vn Staff Editor
    This answer was written by one of our trained team of researchers who validated it for accuracy and comprehensiveness.
    How.com.vn English: How.com.vn Staff Editor
    How.com.vn Staff Editor
    Staff Answer
    The 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).
  • Question
    How do you find the sum of n terms?
    How.com.vn English: How.com.vn Staff Editor
    This answer was written by one of our trained team of researchers who validated it for accuracy and comprehensiveness.
    How.com.vn English: How.com.vn Staff Editor
    How.com.vn Staff Editor
    Staff Answer
    To 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.
See more answers
Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit
      Advertisement

      Video

      Tips

      Submit a Tip
      All tip submissions are carefully reviewed before being published
      Thanks for submitting a tip for review!

      About This Article

      How.com.vn English: Grace Imson, MA
      Reviewed by:
      Math Teacher
      This article was reviewed by Grace Imson, MA and by How.com.vn 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 viewed 709,188 times.
      How helpful is this?
      Co-authors: 29
      Updated: April 18, 2024
      Views: 709,188
      Article SummaryX

      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!

      Did this summary help you?

      Thanks to all authors for creating a page that has been read 709,188 times.

      Reader Success Stories

      • How.com.vn English: Peter C.

        Peter C.

        Jan 15, 2017

        "It has a comprehensive explanation about how to total up the natural numbers in positive range. Besides the formula..." more
      Share your story

      Did this article help you?

      ⚠️ Disclaimer:

      Content from Wiki How English language website. Text is available under the Creative Commons Attribution-Share Alike License; additional terms may apply.
      Wiki How does not encourage the violation of any laws, and cannot be responsible for any violations of such laws, should you link to this domain, or use, reproduce, or republish the information contained herein.

      Notices:
      • - A few of these subjects are frequently censored by educational, governmental, corporate, parental and other filtering schemes.
      • - Some articles may contain names, images, artworks or descriptions of events that some cultures restrict access to
      • - Please note: Wiki How does not give you opinion about the law, or advice about medical. If you need specific advice (for example, medical, legal, financial or risk management), please seek a professional who is licensed or knowledgeable in that area.
      • - Readers should not judge the importance of topics based on their coverage on Wiki How, nor think a topic is important just because it is the subject of a Wiki article.

      Advertisement