How many integer numbers are there whose digits are in ascending order left to right and no two digits are equal?
Example:
etc. [
is invalid]
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
METHOD 1 :
Positive Integers:
0 can not be used in any of these numbers as it will be put in the left most and that does not make any new number (it does not hold any value).
There are 9 digits left from 1 to 9 . 1st we write them all in ascending order. Then we either take a digit or not take. So there are 2 choices for each digit. So we get 2 9 choices in total. But one of the choices is not taking any number which makes that number 0 which is not a positive integer (we skip it for now), so there are 2 9 − 1 positive integers.
Negative Integers:
Similarly there are 2 9 − 1 negative integers.
The only integer left is 0 . So total integers = 2 9 − 1 + 2 9 − 1 + 1 = 1 0 2 3
METHOD 2 :
For positive integers,
total 1 digit numbers, 9 C 1
total 2 digit numbers, 9 C 2
. . . . .
total 9 digit numbers, 9 C 9
add all up to get 2 9 − 1
Similarly for negative integers we get 2 9 − 1
We also have to consider 0. So total = 2 9 − 1 + 2 9 − 1 + 1 = 1 0 2 3