The sum of any two consecutive numbers is an odd number:
We need to look at the sum of consecutive numbers
$n+(n+1)=2n+1$
$n+(n+1)+(n+2)=3n+3$
$n+(n+1)+(n+2)+(n+3)=4n+6$
…
The sum of $x$ consecutive numbers is $xn+\frac{x(x-1)}2$.
We wish to find all numbers between 1 and 100 that is not the sum of consecutive numbers.
| For $x≥15$ we have $\frac{x(x-1)}2>100$. So 14 is an upper bound for $x$.
|
| We found a general pattern: $2^n,n∈\Bbb N$. |