# How to Quickly Add the Integers from 1 to N

The Math Dude: Quick & Dirty Tips to Make Math Simpler

Image: Quick & Dirty Tips

Scientific American presents Math Dude by Quick & Dirty Tips. Scientific American and Quick & Dirty Tips are both Macmillan companies.

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.

You must sign in or register as a ScientificAmerican.com member to submit a comment.
Click one of the buttons below to register using an existing Social Account.

## More from Scientific American

• @ScientificAmerican | 3 hours ago

### Can We Harness Disruption to Improve Our World's Future?

• News | 4 hours ago

### Federal Flood Maps Left New York Unprepared for Sandy, and FEMA Knew It

• News | 6 hours ago

### Smart Wig Could Compete with Google Glass

• News | 6 hours ago | 1

### Will to Persevere Can Be Triggered by Electric Stimulation

• Climatewire | 8 hours ago | 5

More »

## Latest from SA Blog Network

• ### Wonderful Things: The Pugnacious, Alien-esque Skeleton Shrimp

The Artful Amoeba | 1 hour ago
• ### Can We Harness Disruption to Improve Our World's Future?

STAFF
@ScientificAmerican | 3 hours ago
• ### British Storm Brings Up History's First Work of Social Media

Plugged In | 4 hours ago
• ### Rolling on Wheels That Aren t Round

Observations | 4 hours ago
• ### The future of nuclear energy: Let a thousand flowers bloom

The Curious Wavefunction | 5 hours ago

How to Quickly Add the Integers from 1 to N

X

Give a 1 year subscription as low as \$14.99

X

X

###### Welcome, . Do you have an existing ScientificAmerican.com account?

No, I would like to create a new account with my profile information.

X

Are you sure?

X