I like the numbers $4$ and $5$. I also like any number that can be added together using $4$s and $5$s. Eg, $$9 = 4+5 \qquad 40 = 5 + 5 + 5 + 5 + 5 + 5 + 5 +5$$ How many number have this property from 1 to 1000?
Multiples of $4$s and $5$s are easy, but how do I calculate the number of numbers from different combinations of adding $4$ and $5$? (And which ones are different from multiples of $4$ and $5$?)
From the coin problem for $n=2$ we see that any number greater than 11 has this property, checking through 11 we have 4,5,8,9,10.
That would suggest 5+989 = 994 if I did my arithmetic right. The 6 that can't are 1,2,3,6,7,11