How Many Natural Numbers Can Get Expressed as the Sum of Consecutive Natural Numbers in only One Way? [duplicate]

Some natural numbers can be expressed as a sum of consecutive natural numbers in more than one way. For example, $7$ can get expressed both as $7$, and $(3+4).$ In terms of a sum of consecutive numbers, $4$ and $8$ can only get expressed as $4$, and $8$ respectively. Call such numbers consecutive-primes. How many consecutive-primes exist? Given all previous consecutive-primes, is there a way to compute the next consecutive-prime?

marked as duplicate by Ross Millikan, ShreevatsaR, Chris Eagle, t.b., Zev ChonolesMay 19 '12 at 18:32

• The powers of $2$ are the only ones. The problem has been solved on this site, probably repeatedly. Here is a link. – André Nicolas May 2 '12 at 13:57

Only powers of 2 have exactly 1 odd divisor.

• Huh? What do you mean by "odd divisor"? I mean, 3 only has one divisor (discounting 1), which is odd, if by "odd divisor" you mean a divisor which is odd. Also, how does the notion of "divisor" end up relating here? – Doug Spoonwood May 2 '12 at 12:38
• @DougSpoonwood Can you see how to use an odd divisor to create a sum of consecutive numbers? Hint: 3=0+1+2 – Mark Bennet May 2 '12 at 12:49