Solution:
First, notice that any odd integer can be written as a sum of consecutive integers: 2n+1=(n)+(n+1), e.g. 23=11+12.
Then observe that any multiple of 3 can be written as a sum of consecutive integers: 3n=(n−1)+(n)+(n+1), for example, 18=5+6+7.
Similarly, any multiple of 5 can be written as a sum of consecutive integers:
5n=(n−2)+(n−1)+(n)+(n+1)+(n+2).
In general, any number with an odd factor can be written as a sum of consecutive integers. The only numbers that have no odd factors (other than 1) are the powers of two. There are 7 such numbers less than 100: {1,2,4,8,16,32,64}.
In general, any number with an odd factor (greater than one) can be written as a sum of consecutive integers. Note that if the odd factor is too large then some of these terms are negative. For example our above method for 26 would produce
26=(−4)+(−3)+(−2)+(−1)+0+1+2+3+4+5+6+7+8.
Because the centre of the consecutive run is always positive, there will always be more positive terms than negative terms. Therefore each negative term can be 'cancelled' with its corresponding positive term. At a minimum, the centre of the run must be at least 1, so there will always be at least two positive terms remaining even after cancelling.
But we are also not allowed to have one dot in the top row, i.e. our sum (after cancelling) cannot include 1. This would seem to exclude the triangular numbers:
{1,3,6,10,15,21,28,36,45,55,66,78,91}.
Except some can be rewritten as a different sum of consecutive integers in more than one way. For example 15=1+2+3+4+5, but also 15=7+8. In general, if the triangular number, Tn=21n(n+1), is either odd, or has an odd factor less than n, it can be rewritten as a sum of consecutive integers that do not include 1. The following triangular numbers can be salvaged:
- 15 is odd, so 15=7+8
- 21 is odd, so 21=10+11
- 36 is a multiple of 3, so 36=11+12+13
- 45 is odd, so 45=22+23
- 55 is odd, so 55=27+28
- 66 is a multiple of 3, so 66=21+22+23
- 78 is a multiple of 3, so 78=25+26+27
- 91 is odd, so 91=45+46
So there are 5 triangular numbers that are not possible: {1,3,6,10,28}. Combined with the powers of two that are also impossible: {1,2,4,8,16,32,64}, there are 11 numbers (5+7=12 but the number 1 is included in both lists) that can not be written as trapezium numbers:
{1,2,3,4,6,8,10,16,28,32,64}.
There are 99 numbers less than 100, so there are 99−11=88 trapezium numbers.