-
amitabhprasad
- Master | Next Rank: 500 Posts
- Posts: 259
- Joined: Thu Jan 18, 2007 8:30 pm
- Thanked: 16 times
The sum of the even numbers between 1 and n is 79*80, where n is an odd number, then n=?
OA159
OA159
Nice work cramya, I wasnt aware of such formula. Thanks.cramya wrote:I think the formula fo sum of even numbers from 1 to n is
(n-1) / 2 * (n+1) / 2
(n-1) / 2 * (n+1) / 2 = 79 * 80
(n-1) (n+1) = 2*79 * 2*80
= 158 * 160
n=159