A [positive integer](https://artofproblemsolving.com/wiki/index.php/Positive_integer) is called ascending if, in its [decimal representation](https://artofproblemsolving.com/wiki/index.php?title=Decimal_representation&action=edit&redlink=1), there are at least two digits and each digit is less than any digit to its right. How many ascending positive integers are there?
Note that an ascending number is exactly determined by its [digits](https://artofproblemsolving.com/wiki/index.php/Digit): for any [set](https://artofproblemsolving.com/wiki/index.php/Set) of digits (not including 0, since the only position for 0 is at the leftmost end of the number, i.e. a leading 0), there is exactly one ascending number with those digits.
So, there are nine digits that may be used: $1,2,3,4,5,6,7,8,9.$  Note that each digit may be present or may not be present. Hence, there are $2^9=512$ potential ascending numbers, one for each [subset](https://artofproblemsolving.com/wiki/index.php/Subset) of $\{1, 2, 3, 4, 5, 6, 7, 8, 9\}$.
However, we've counted one-digit numbers and the [empty set](https://artofproblemsolving.com/wiki/index.php/Empty_set), so we must subtract them off to get our answer, $512-10=\boxed{502}.$