Are there any positive integers that cannot be expressed as sum of at least two consecutive integers ?
2 = not possible 3 = 1+2 4 = not possible 5 = 2+3 6 = 1+2+3 7 = 3+4 ...
8
yes 8 also cannot be expressed as sum of consecutive integers
Let the first number be \(p\) and let there be \(q\) consecutive integers.\[k = pq + \dfrac{q(q-1)}{2}\]
to tired to do any more math...
I don't know how recasting the problem into this form helps, but let's see.
that looks good because it gives us something to play with
k = p + (p+1) + (p+2) + ... + (p+q-1) = pq + q(q-1)/2 so k must be of this form is it
exactly.
Umm, I haven't even answered the question...
we're 90% done actually
\[k = pq + \dfrac{q(q-1)}{2}\] multiplying 2 through out gives \[2k = q(2p+q-1)\] clearly the factors on right hand side cannot have same parity (cannot be both odd or both even)
thats because the sum of factors : \(q+2p+q-1 = 2(p+q)-1\) is odd
so \(2k=q(2p+q-1)\) is impossible when \(k\) is a power of \(2\)
can someone help me with trigonometric raios? sin(3x+13) = cos(4x)
Join our real-time social learning platform and learn together with your friends!