Find all series of consecutive positive integers whose sum is exactly 10,000.
__________________________________
What if we don't require the consecutive integers to (all) be positive?
I played around with the formula for series sums for a bit but couldn't find an elegant way of getting to the answer other than using a big sledgehammer.
10000
1998, 1999,..., 2002
388, 389,..., 412
297, 298,..., 328
18, 19,..., 142
|
Posted by fwaff
on 2004-07-21 08:47:55 |