Friday, June 7, 2019

number theory - Determine all ways the integer $2015$ can be written as a sum of consecutive positive integers.


Q) Determine all ways the integer $2015$ can be written as a sum of
(more than one) consecutive positive integers. Prove that you have
found all possible combinations.





I was thinking of using Gauss' formula where



Sum=$\frac{n(n+1)}{2}$ Since we want the sum to be $2015$ then $2015=\frac{n(n+1)}{2}$ and then we are left with $4030=n(n+1)=n^2+n$



but then I got stuck. Any ideas?

No comments:

Post a Comment

analysis - Injection, making bijection

I have injection $f \colon A \rightarrow B$ and I want to get bijection. Can I just resting codomain to $f(A)$? I know that every function i...