TehMeh:
Number 2007
I can only seem to find 5 ways... I thought I had 6, but I'm not so sure anymore.
There are five ways to write 2007 as the sum of consecutive positive integers (six if you count the trivial one-term sum).
Daring-doers:
"I'm not that daring"
Very wise!
Mark:
In how many ways can the positive integer n be written as the sum of consecutive k positive integers?
For a given k, it will be 0 or 1 because there can be at most one sum of length k that equals n.
m + (m+1) + ... + (m+k-1) = (k^2 + k)/2 + (m-1)*k = k * (k + 2*m - 1) / 2
Therefore, k must divide 2*n (and m must be greater than or equal to zero) for there to be a solution.
For all k, the number must be less than or equal to the number of factors of 2*n (see above) since each factor will yield 0 or 1 solution(s).
As the sum of k arbitrary integers?
If the arbitrary integers aren't constrained to be positive, then there are an infinite number of solutions. Assuming they must be positive, must they be distinct?
Adding the k integers starting with s yields k(2s+k-1)/2. For this to equal 2007, k must be a divisor of 4014. For six of the possible values of k (including 1), the corresponding value of s is positive.
Miss mi rather amusingly wrote,
"I cannot believe you dumped my (what is that thing down there called?) - TAG LINE! I am the dumper - not the dumpee!"
Honey, I don't care how dumpy you are; you are still on my Christmas card list!
As for what that thing is called; would a Rose look any less beautiful called by another name! :wink:
Now you see it: Now you don't!
TTH writes, "
He probably didn't
..It disappears when you make
a post. I noticed it was gone
then he put it back.
So where is it now?
CHCAAUOSGS
KLED