I've been preparing for Mathcounts competition, but this one question confused me a bit.
If a stairstep number is defined as a number whose digits are strictly increasing in value from left to right, how many positive integers containing two or more digits are stairstep numbers?
So what I did was to do casework (separating it into "2 digits', "3 digits", "4 digits"... and so on till "9 digits" which obviously would be the last possible one and has only 1 number that meets the requirements). And each time I focused on the units digit - so for example for 4-digit number like 123a, there'd be 6 a's possible. And for 134a, there would be 5 a's possible and that's how I went on to add up all the nubmers and I got 243 total (I doublechecked the whole process).
But the answer's supposed to be 502. Where did I go wrong or what other ways are there to solve this?