# How to Quickly Add the Integers From 1 to n?

What does 1 + 2 + 3 + … + n equal? Find How to Quickly Add the Integers From 1 to n out how to impress your friends at parties by quickly calculating the sum of all the integers from 1 up to any number they choose.

Page 1 of 3

In the last episode, we learned an amazing trick that you can use to quickly add up all the integers from 1 to 100. And that really was no small feat since we turned the herculean task of performing 100 addition problems—that is adding up 1 + 2 + 3 + 4 + … + 100—into a cute fuzzy kitten of a single multiplication problem. Although this trick is undeniably impressive, it’s not exactly the kind of thing you can pull out at parties to impress your friends since they could claim that you simply memorized the answer.

Which might lead you to wonder: Instead of just adding up the first 100 positive integers, is there a way to quickly calculate the sum of the first 50, 200, or maybe even 1,000 positive integers? In other words, is there a way to quickly calculate the sum of all the integers from 1 up to *any* other number—which we’ll call “*n”—*that your friends might throw at you? That would be a rather impressive trick, right? Well, as luck would have it, there is a way to do it…and that’s exactly what we’re going to talk about today.

## Recap: Adding the Integers From 1 to 100

Before we figure out how to add up all the integers from 1 to *n*, let’s recap how to add up all the integers from 1 to 100. The key to this is our friend the associative property of addition which says that you are free to add together a group of numbers in any order you like. In the past, we’ve seen how this freedom can be used to help you perform lightning fast mental addition, and now this same property comes to the rescue again since it means that we’re free to add up all the numbers from 1 to 100 in pairs.

In particular, we want to form pairs containing one number from the beginning of the sequence and one number from the end: 1+100, 2+99, 3+98, and so on. Why does that help? Because each of these pairs of numbers adds up to 101. And since there are 50 such pairs, we can very quickly figure out—without doing all 100 addition problems—that the sum of the first 100 positive integers is 50 x 101 = 5,050.