Sum of numbers

This topic has expert replies
User avatar
Senior | Next Rank: 100 Posts
Posts: 51
Joined: Mon May 10, 2010 11:55 pm
Thanked: 4 times

Sum of numbers

by surajgarg » Sat Aug 07, 2010 6:36 am
If n is an odd number, and the sum of all the even numbers between 1 and n is equal to the product of 79 and 80, then what is the value of n?

A. 79
B. 81
C. 83
D. 157
E. 159

User avatar
Legendary Member
Posts: 1460
Joined: Tue Dec 29, 2009 1:28 am
Thanked: 135 times
Followed by:7 members

by selango » Sat Aug 07, 2010 8:08 am
Sum of even numbers <=n

When n is odd,Sum=(n-1)/2*(n+1)/2=79*80

n=159

Pick E
--Anand--

User avatar
Master | Next Rank: 500 Posts
Posts: 362
Joined: Fri Oct 02, 2009 4:18 am
Thanked: 26 times
Followed by:1 members

by indiantiger » Mon Aug 09, 2010 10:09 am
sum of n numbers = n/2(2*a + (n-1)*d)
a = is the first term of the series

d= is the difference b/w consecutive numbers

so in our case sum = 79 * 80 = 6320

a = 2 (first even number)
so the equation becomes
=>n/2*(4 * (n-1)*2)
=>2n + n^2 -n = 6320
=>n^2 + n -6320 = 0
solve it for n, then you will get solutions 79,80 and we are give that n is odd so answer is 79
"Single Malt is better than Blended"

Newbie | Next Rank: 10 Posts
Posts: 1
Joined: Mon Jul 26, 2010 12:42 pm

by rb » Mon Aug 09, 2010 10:34 pm
Basically 2+4+6+8+10+12+..............+n-1= 79*80


2(1+2+3+4+5+6+.......)=79*80

1+2+3+4+5+................= 79*40

Use Sum=n/2(2a + (n-1)d) , where a= 1st term , d= difference, n=number of terms

n/2(2*1 + (n-1)) = 79*40

Rearranging, n^2 + n - 79*80=0

From the above equation, without doing any calculations, one can see the odd answer 79.

User avatar
Legendary Member
Posts: 1460
Joined: Tue Dec 29, 2009 1:28 am
Thanked: 135 times
Followed by:7 members

by selango » Mon Aug 09, 2010 11:19 pm
Is n=79 correct?

Logically we ll check this.Sum =6320

Sum of even numbers bw 1 and 79 surely ll be in d range 2000 and 3000.6000 range surely is greater.
--Anand--