All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars    
perplexus dot info

Home > Numbers
10,000 (Posted on 2004-07-21) Difficulty: 3 of 5
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?

  Submitted by SilverKnight    
Rating: 2.6000 (5 votes)
Solution: (Hide)
Generalize to find X (and I) such that:

(X + X+1 + X+2 + ... + X+I) = T

for any integer T.

You are asking for all (X,I) s.t. (2X+I)(I+1) = 2T. The problem is (very) slightly easier if we don't restrict X to being positive, so we'll solve this first.

Note that 2X+I and I+1 must have different parities, so the answer to the relaxed question is N = 2*(o_1+1)*(o_2+1)*...*(o_n+1), where 2T = 2^o_0*3^o_1*...*p_n^o_n (the prime factorization); this is easily seen to be the number of ways we can break 2T up into two positive factors of differing parity (with order).

In particular, 20000 = 2^5*5^4, hence there are 2*(4+1) = 10 solutions for T = 10000. These are (2X+I,I+1):

(32*1,5^4) (32*5,5^3) (32*5^2,5^2) (32*5^3,5) (32*5^4,1)
(5^4,32*1) (5^3,32*5) (5^2,32*5^2) (5,32*5^3) (1,32*5^4)

And they give rise to the solutions (X,I):

(-296,624) (18,124) (388,24) (1998,4) (10000,0)
(297,31) (-27,179) (-387,799) (-1997,3999) (-9999,19999)

If you require that X>0 note that this is true iff 2X+I > I+1 and hence the number of solutions to this problem is N/2 (due to the symmetry of the above ordered pairs).

Comments: ( You must be logged in to post comments.)
  Subject Author Date
Solutiongeneral solutionTristan2004-07-30 21:42:09
Some Thoughtsre: All 10 Solutions AnalyticallyVee-Liem Veefessional2004-07-30 07:26:54
re: All 10 Solutions AnalyticallyVee-Liem Veefessional2004-07-30 07:26:52
a computer program - a lesser solutionvectorboy2004-07-21 23:44:47
All 10 Solutions Analyticallynp_rt2004-07-21 16:41:48
Solution[Completely] Analytical SolutionDJ2004-07-21 13:25:35
Consecutive Deja VuRichard2004-07-21 12:49:03
SolutionEric2004-07-21 09:34:05
Solution2nd bit trivialfwaff2004-07-21 09:29:13
SolutionBrute force answer to first bitfwaff2004-07-21 08:47:55
Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
Forums (0)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (11)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

Chatterbox:
Copyright © 2002 - 2024 by Animus Pactum Consulting. All rights reserved. Privacy Information