Question 949938
Let's work backwards.
Number starting with 9, none.
Numbers starting with 8, 1 (89).
Numbers starting with 7, 2 (78,79).
I think you see a pattern here.
{{{N=0+1+2+3+4+5+6+7+8+9}}}
{{{N=45}}}