
Sean M. answered 10/02/22
Berkeley Graduate in Math, Logic and Comp Sci
Suppose, for the sake of contradiction, there is a power of 2- call it 2n- such that 2n = m + (m + 1) + (m+ 2) + (m + 3) + (m + 4) + (m + 5). That is, 2n is the sum of five consecutive numbers. Thus 2n = 5m + 15 = 5(m + 3). So 2n is divisible by 5. However the only factors of any power of 2 are only 2, so this is a contradiction.
Thus there is no such m. As n was arbitrary, this proof holds for all natural numbers n, so there is no power of 2 that is the sum of five consecutive naturals.
Note that "5" could've been replaced by any odd integer here, and I encourage you to prove that...