-
cbenk121
- Master | Next Rank: 500 Posts
- Posts: 202
- Joined: Tue Sep 08, 2009 11:34 pm
- Thanked: 15 times
- GMAT Score:760
Had a tricky problem in OG today (#116 if you're curious). Found the pattern, but then didn't calculate the sum correctly (ironically, you didn't even need to sum anything for that problem). But I could've solved it with a sum, had I calculated it correctly.
So then I set about to figure out how to, in general, calculate a list of consecutive numbers - if you happen to stumble on one. Maybe it's been posted before, but if you're like me and haven't seen it, here's a re-post then
.
1) Find what the first and last term added together equal. This is the multiple.
2) Next, divide the last term by 2. This is how many pairs of the multiple you'll have.
2a) If the result is not an integer, then there will be an unpaired number in the middle. Round up to determine this middle number.
3) Multiply the multiple by the number of pairs, and add the middle number to the sum (if applicable).
For example: 1 to 59.
1 + 59 = 60. This is the multiple.
59 / 2 = 29.5. There will be 29 pairs of 60.
29.5 is not an integer, so rounding up, 30 is the middle number.
Our sum is 60 * 29 + 30 = 1770.
For example: 1 to 60
1 + 60 = 61. This is the multiple.
60 / 2 = 30. There will be 30 pairs of 60.
30 is an integer, so no middle number.
Our sum is 61 * 30 = 1830.
So then I set about to figure out how to, in general, calculate a list of consecutive numbers - if you happen to stumble on one. Maybe it's been posted before, but if you're like me and haven't seen it, here's a re-post then
1) Find what the first and last term added together equal. This is the multiple.
2) Next, divide the last term by 2. This is how many pairs of the multiple you'll have.
2a) If the result is not an integer, then there will be an unpaired number in the middle. Round up to determine this middle number.
3) Multiply the multiple by the number of pairs, and add the middle number to the sum (if applicable).
For example: 1 to 59.
1 + 59 = 60. This is the multiple.
59 / 2 = 29.5. There will be 29 pairs of 60.
29.5 is not an integer, so rounding up, 30 is the middle number.
Our sum is 60 * 29 + 30 = 1770.
For example: 1 to 60
1 + 60 = 61. This is the multiple.
60 / 2 = 30. There will be 30 pairs of 60.
30 is an integer, so no middle number.
Our sum is 61 * 30 = 1830.

















