06-19-2024, 04:45 AM
(06-18-2024, 10:42 PM)bplus Wrote: What numbers between 1 and 1000 can NOT be expressed as the sum of consecutive integers?
BONUS: one number can be expressed 15 different ways as a sum of consecutive numbers what is it and list the ways.
I didn't take time to check the whole list, but it appears using the numbers from 1 to 100, that the powers of 2 are the values which can't be summed. (2, 4, 8, 16, 32, 64..)
945, and its starting points: 2 10 17 22 35 44 56 61 90 101 132 155 187 314 472