Sum of all the odd numbers

This topic has expert replies
User avatar
Junior | Next Rank: 30 Posts
Posts: 15
Joined: Mon Apr 25, 2011 6:59 am
Thanked: 1 times

Sum of all the odd numbers

by neerajeai » Mon Feb 25, 2013 7:03 am
For any positive integer n, the sum of the first n positive integers equals n(n+1)/2.
What is the sum of all the ODD integers between 99 and 301?
A) 10100
B) 20000
C) 20400
D) 40200
E) 45150

OA B

What is the sum of all the ODD integers between 99 and 301, both inclusive?
A) 10100
B) 20000
C) 20400
D) 40200
E) 45150

OA C[/spoiler]
Last edited by neerajeai on Mon Feb 25, 2013 8:10 am, edited 1 time in total.
Source: — Problem Solving |

User avatar
GMAT Instructor
Posts: 16207
Joined: Mon Dec 08, 2008 6:26 pm
Location: Vancouver, BC
Thanked: 5254 times
Followed by:1268 members
GMAT Score:770

by Brent@GMATPrepNow » Mon Feb 25, 2013 7:17 am
I can see that you've made a slight alteration to this question: https://www.beatthegmat.com/og-157-t144661.html
I want to clarify something about your new question. Are we including 99 and 301 in this sum?

Cheers,
Brent
Brent Hanneson - Creator of GMATPrepNow.com
Image

User avatar
GMAT Instructor
Posts: 16207
Joined: Mon Dec 08, 2008 6:26 pm
Location: Vancouver, BC
Thanked: 5254 times
Followed by:1268 members
GMAT Score:770

by Brent@GMATPrepNow » Mon Feb 25, 2013 7:24 am
neerajeai wrote:For any positive integer n, the sum of the first n positive integers equals n(n+1)/2.
What is the sum of all the ODD integers between 99 and 301?
A) 10100
B) 20200
C) 20402
D) 40200
E) 45150

OA will be posted in next 1 hour. Looking for the most efficient way of doing this.
Are you sure those answer choices are correct?

Cheers,
Brent
Brent Hanneson - Creator of GMATPrepNow.com
Image

User avatar
Junior | Next Rank: 30 Posts
Posts: 15
Joined: Mon Apr 25, 2011 6:59 am
Thanked: 1 times

by neerajeai » Mon Feb 25, 2013 7:25 am
Brent@GMATPrepNow wrote:I can see that you've made a slight alteration to this question: https://www.beatthegmat.com/og-157-t144661.html
I want to clarify something about your new question. Are we including 99 and 301 in this sum?

Cheers,
Brent
Thanks Brent for chiming in. You are right. I have altered the question a bit. The idea to to test the concept and find alternate methods of solving such problems.
The numbers are "between" 99 and 101 and do not include these numbers.
How do you rate this question in terms of difficulty level on GMAT?

User avatar
Junior | Next Rank: 30 Posts
Posts: 15
Joined: Mon Apr 25, 2011 6:59 am
Thanked: 1 times

by neerajeai » Mon Feb 25, 2013 7:28 am
Brent@GMATPrepNow wrote:
neerajeai wrote:For any positive integer n, the sum of the first n positive integers equals n(n+1)/2.
What is the sum of all the ODD integers between 99 and 301?
A) 10100
B) 20200
C) 20402
D) 40200
E) 45150

OA will be posted in next 1 hour. Looking for the most efficient way of doing this.
Are you sure those answer choices are correct?

Cheers,
Brent
Yes pretty sure one of them is correct (based on my calculations). Please suggest if you feel otherwise.

User avatar
GMAT Instructor
Posts: 16207
Joined: Mon Dec 08, 2008 6:26 pm
Location: Vancouver, BC
Thanked: 5254 times
Followed by:1268 members
GMAT Score:770

by Brent@GMATPrepNow » Mon Feb 25, 2013 7:45 am
neerajeai wrote:For any positive integer n, the sum of the first n positive integers equals n(n+1)/2.
What is the sum of all the ODD integers between 99 and 301?
A) 10100
B) 20200
C) 20402
D) 40200
E) 45150

OA will be posted in next 1 hour. Looking for the most efficient way of doing this.
There's a formula for finding these kinds of sum (aka arithmetic series), but I'm not a fan of most formulas (although some are worthwhile). Plus my solution still contains many of the elements found in the formula approach.

Both approaches require us to determine how many numbers we're adding together, so let's begin with this task.

How many numbers are in the set {101, 103, 105, . . . 297, 299}?
To answer this question, consider this easier question: How many numbers are in the set {100, 101, 102, 103, 104, 105, . . . 296, 297, 298, 299}?
Notice that for every odd number, we have an even number. So, half of the numbers are odd.

Here's a need-to-know (easy to memorize) formula: In the set of integers from x to y inclusive, the number of values = y-x+1
So, in the set of integers from 100 to 299 inclusive, the number of values = 299-100+1 = 200
There are 200 numbers from 100 to 299 inclusive.
If half of them are odd, then 100 numbers are odd.

That's the hard part. Now let's find the sum.

We want 101+103+105+....297+299
To find this sum, let's add values in pairs, beginning from the outside and working in:

(101+299) + (103+297) + (105+295) + (107+293) + . .

IMPORTANT: each pair of values adds to 400.
How many 400's are we adding together?
Well, if there are 100 odd numbers altogether, then there are 50 pairs of values.

So, we get 50(400)= 20,000

Cheers,
Brent
Last edited by Brent@GMATPrepNow on Mon Feb 25, 2013 7:48 am, edited 1 time in total.
Brent Hanneson - Creator of GMATPrepNow.com
Image

User avatar
GMAT Instructor
Posts: 15539
Joined: Tue May 25, 2010 12:04 pm
Location: New York, NY
Thanked: 13060 times
Followed by:1906 members
GMAT Score:790

by GMATGuruNY » Mon Feb 25, 2013 7:48 am
neerajeai wrote:For any positive integer n, the sum of the first n positive integers equals n(n+1)/2.
What is the sum of all the ODD integers between 99 and 301, inclusive?
A) 10100
B) 20200
C) 20400
D) 40200
E) 45150

OA will be posted in next 1 hour. Looking for the most efficient way of doing this.
I've added the word inclusive to make the intent of the problem clear.
I've also amended the answer choices to include the correct answer.

Ignore the formula given. The following can be used to calculate the sum of any set of evenly spaced integers:

Sum = (number of integers) * (average of biggest and smallest)

To count the number of evenly spaced integers in a set:

Number of integers = (biggest - smallest)/interval + 1

The INTERVAL is the distance between one term and the next.
Since we're adding only the ODD integers here, the interval is 2.
Thus:
Number of odd integers from 99 to 301 = (301-99)/2 + 1 = 102.
Average of biggest and smallest = (301+99)/2 = 200.
Sum = number * average = 102*200 = 20,400.

The correct answer is C.
Private tutor exclusively for the GMAT and GRE, with over 20 years of experience.
Followed here and elsewhere by over 1900 test-takers.
I have worked with students based in the US, Australia, Taiwan, China, Tajikistan, Kuwait, Saudi Arabia -- a long list of countries.
My students have been admitted to HBS, CBS, Tuck, Yale, Stern, Fuqua -- a long list of top programs.

As a tutor, I don't simply teach you how I would approach problems.
I unlock the best way for YOU to solve problems.

For more information, please email me (Mitch Hunt) at [email protected].
Student Review #1
Student Review #2
Student Review #3

User avatar
Junior | Next Rank: 30 Posts
Posts: 15
Joined: Mon Apr 25, 2011 6:59 am
Thanked: 1 times

by neerajeai » Mon Feb 25, 2013 8:07 am
Thanks Brent and Mitch.
Both of your approaches are correct and intuitive.

I am correcting the question, and the answer choices (for the benefit of others.
The answer would be 20000- if we consider "between", and
The answer would be 20400- if we consider "Inclusive"

thanks again,
N

Junior | Next Rank: 30 Posts
Posts: 22
Joined: Tue Feb 07, 2012 12:35 pm
Thanked: 1 times

by dhlee922 » Mon May 06, 2013 6:39 pm
GMATGuruNY wrote:
neerajeai wrote:For any positive integer n, the sum of the first n positive integers equals n(n+1)/2.
What is the sum of all the ODD integers between 99 and 301, inclusive?
A) 10100
B) 20200
C) 20400
D) 40200
E) 45150

OA will be posted in next 1 hour. Looking for the most efficient way of doing this.
I've added the word inclusive to make the intent of the problem clear.
I've also amended the answer choices to include the correct answer.

Ignore the formula given. The following can be used to calculate the sum of any set of evenly spaced integers:

Sum = (number of integers) * (average of biggest and smallest)

To count the number of evenly spaced integers in a set:

Number of integers = (biggest - smallest)/interval + 1

The INTERVAL is the distance between one term and the next.
Since we're adding only the ODD integers here, the interval is 2.
Thus:
Number of odd integers from 99 to 301 = (301-99)/2 + 1 = 102.
Average of biggest and smallest = (301+99)/2 = 200.
Sum = number * average = 102*200 = 20,400.

The correct answer is C.

hi mitch,

your method is time saving, but when the test writers write this problem, what if they asked find the sum of even numbers from 1 to 100 inclusive.

Number of integers = (100 - 1)/2 + 1 = 50.5
Average of biggest and smallest = (100+1)/2 = 50.5

if i were to do your method, i'd end up with decimals and my answer will be off. the only way to fix this is to say even numbers between 1 to 101 inclusive.

so my question is, would test writers ever write the question in a way that we get funky results and therefore have to try to do it logically like brent's method?

User avatar
GMAT Instructor
Posts: 15539
Joined: Tue May 25, 2010 12:04 pm
Location: New York, NY
Thanked: 13060 times
Followed by:1906 members
GMAT Score:790

by GMATGuruNY » Mon May 06, 2013 7:34 pm
=
dhlee922 wrote:
GMATGuruNY wrote:
neerajeai wrote:For any positive integer n, the sum of the first n positive integers equals n(n+1)/2.
What is the sum of all the ODD integers between 99 and 301, inclusive?
A) 10100
B) 20200
C) 20400
D) 40200
E) 45150

OA will be posted in next 1 hour. Looking for the most efficient way of doing this.
I've added the word inclusive to make the intent of the problem clear.
I've also amended the answer choices to include the correct answer.

Ignore the formula given. The following can be used to calculate the sum of any set of evenly spaced integers:

Sum = (number of integers) * (average of biggest and smallest)

To count the number of evenly spaced integers in a set:

Number of integers = (biggest - smallest)/interval + 1

The INTERVAL is the distance between one term and the next.
Since we're adding only the ODD integers here, the interval is 2.
Thus:
Number of odd integers from 99 to 301 = (301-99)/2 + 1 = 102.
Average of biggest and smallest = (301+99)/2 = 200.
Sum = number * average = 102*200 = 20,400.

The correct answer is C.

hi mitch,

your method is time saving, but when the test writers write this problem, what if they asked find the sum of even numbers from 1 to 100 inclusive.

Number of integers = (100 - 1)/2 + 1 = 50.5
Average of biggest and smallest = (100+1)/2 = 50.5

if i were to do your method, i'd end up with decimals and my answer will be off. the only way to fix this is to say even numbers between 1 to 101 inclusive.

so my question is, would test writers ever write the question in a way that we get funky results and therefore have to try to do it logically like brent's method?
In my solution above, the term smallest refers to the least value that SATISFIES THE CONSTRAINTS OF THE SET.

Between 1 and 100, inclusive:
The smallest EVEN integer is 2.
The biggest even integer is 100.
Thus:
Number of integers = (biggest-smallest)/interval + 1 = (100-2)/2 + 1 = 50.
Average = (biggest+smallest)/2 = (100+2)/2 = 51.
Sum = number*average = 50*51 = 2550.

Similar problems:
https://www.beatthegmat.com/for-any-posi ... 59401.html
https://www.beatthegmat.com/the-sum-of-t ... 49756.html
Private tutor exclusively for the GMAT and GRE, with over 20 years of experience.
Followed here and elsewhere by over 1900 test-takers.
I have worked with students based in the US, Australia, Taiwan, China, Tajikistan, Kuwait, Saudi Arabia -- a long list of countries.
My students have been admitted to HBS, CBS, Tuck, Yale, Stern, Fuqua -- a long list of top programs.

As a tutor, I don't simply teach you how I would approach problems.
I unlock the best way for YOU to solve problems.

For more information, please email me (Mitch Hunt) at [email protected].
Student Review #1
Student Review #2
Student Review #3

User avatar
Senior | Next Rank: 100 Posts
Posts: 42
Joined: Tue Dec 06, 2011 8:06 am
Thanked: 3 times
Followed by:1 members

by ygdrasil24 » Tue May 07, 2013 2:05 am
Between 99 and 301 , there are 201 terms.
So sum of 201 numbers is 201*202/2 = 201*101 ~ 201*100 ~ 20,000
So sum of odd numbers should be anything around half of it .

What is wrong am i doing here ?

Junior | Next Rank: 30 Posts
Posts: 22
Joined: Tue Feb 07, 2012 12:35 pm
Thanked: 1 times

by dhlee922 » Tue May 07, 2013 6:09 am
thanks mitch, that cleared things up!

Junior | Next Rank: 30 Posts
Posts: 22
Joined: Tue Feb 07, 2012 12:35 pm
Thanked: 1 times

by dhlee922 » Tue May 07, 2013 6:19 am
ygdrasil24 wrote:Between 99 and 301 , there are 201 terms.
So sum of 201 numbers is 201*202/2 = 201*101 ~ 201*100 ~ 20,000
So sum of odd numbers should be anything around half of it .

What is wrong am i doing here ?
edit: actually, i believe my post below doesnt address your question

there are 201 terms, but the original question was asking for the sum of the odd terms inclusive of those boundaries. when you find that, then there are only 102 terms

i believe that the n(n+1)/2 formula only works for consecutive terms, but this question is asking for only odd terms, please correct me if i'm wrong on this last statement
Last edited by dhlee922 on Tue May 07, 2013 6:42 am, edited 1 time in total.

Junior | Next Rank: 30 Posts
Posts: 22
Joined: Tue Feb 07, 2012 12:35 pm
Thanked: 1 times

by dhlee922 » Tue May 07, 2013 6:37 am
ygdrasil24 wrote:Between 99 and 301 , there are 201 terms.
So sum of 201 numbers is 201*202/2 = 201*101 ~ 201*100 ~ 20,000
So sum of odd numbers should be anything around half of it .

What is wrong am i doing here ?

i think i have some additional information, the n(n+1)/2 formula works when you start with 1. it doesnt seem to apply for a set of numbers greater than 1

so if you use the n(n+1)/2 formula, based on your question, you are saying find the sum of 100 to 300 inclusive.

300(301)/2 = 45150

then find sum of 1 to 99 inclusive, 99(100)/2 = 4950

then subtract, 45150-4950 = 40,200

half of 40,200 = 20,100

but you are including the 100 from 100 to 300, so i think if you remove that you'll get 20,000. i think from this point, brent's method is clear b/c you can pair the numbers (101 + 299) (103 + 297) etc

you are correct that there are 201 terms, but basically you are finding the sum of the first 201 mumbers