even integers
This topic has expert replies
- givemeanid
- Master | Next Rank: 500 Posts
- Posts: 277
- Joined: Sun Jun 17, 2007 2:51 pm
- Location: New York, NY
- Thanked: 6 times
- Followed by:1 members
2 + 4 + 6 + ... + 100 = 2550
Now, 102 + 104 + ... 200
= (2 + 100) + (4 + 100) + ... (100 + 100)
= (2 + 4 + ... 100) + (100 + 100 ... 50 times)
= 2550 + 100*50
= 2550 + 5000
= 7550
Now, 102 + 104 + ... 200
= (2 + 100) + (4 + 100) + ... (100 + 100)
= (2 + 4 + ... 100) + (100 + 100 ... 50 times)
= 2550 + 100*50
= 2550 + 5000
= 7550
So It Goes
-
- Newbie | Next Rank: 10 Posts
- Posts: 6
- Joined: Tue Aug 07, 2007 5:23 am
There is another way of solving such problems, for that please remember this formula:-
(N/2)((2 x A) + (N-1) D)
Where:-
N - Total number of digits you have to add
A - The first digit
D - Difference between two digits
Now we'll tackle the problem
Here we know that the first digit is 102 so A = 102
Difference between two digits is 2, as all are even so D = 2
Total number of even digits between 102 and 200 are 50 so N = 50
Putting the values in the formula we get
(50/2) ((2 x 102) + (49) 2)
=25 (204 + 98)
=25 (302)
=7550 (The ans)
With this formula you can calculate the sum of all the APs
Hope this helps!
(N/2)((2 x A) + (N-1) D)
Where:-
N - Total number of digits you have to add
A - The first digit
D - Difference between two digits
Now we'll tackle the problem
Here we know that the first digit is 102 so A = 102
Difference between two digits is 2, as all are even so D = 2
Total number of even digits between 102 and 200 are 50 so N = 50
Putting the values in the formula we get
(50/2) ((2 x 102) + (49) 2)
=25 (204 + 98)
=25 (302)
=7550 (The ans)
With this formula you can calculate the sum of all the APs
Hope this helps!
-
- Master | Next Rank: 500 Posts
- Posts: 460
- Joined: Sun Mar 25, 2007 7:42 am
- Thanked: 27 times
Good one Vinay, AP would be a good & generic way to solve this one unless you can think of
2550 + 50*100 =7550
In the formula for AP that Vinay has given ,I think he meant Nos instead of digits
(N/2)((2 x A) + (N-1) D)
Where:-
N - Total number of Numbers you have to add
A - The first or starting Number in the sequence
D - Difference between two Numbers (common or same)
2550 + 50*100 =7550
In the formula for AP that Vinay has given ,I think he meant Nos instead of digits
(N/2)((2 x A) + (N-1) D)
Where:-
N - Total number of Numbers you have to add
A - The first or starting Number in the sequence
D - Difference between two Numbers (common or same)
Regards
Samir
Samir