Problem

Source: Croatia MO 2002 3rd Grade P2

Tags: number theory



Prove that a natural number can be written as a sum of two or more consecutive positive integers if and only if that number is not a power of two.