A seven digit number is called lucky number if and/or . Find the number of all lucky numbers.
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.
First, I would like to find the number of lucky number if A B C = D E F .
Since A B C = D E F , we simply find the possible number of A B C which is 9 × 1 0 × 1 0 = 9 0 0 .
The possible number of G is 10, so the number of lucky number if A B C = D E F is 9 0 0 × 1 0 = 9 0 0 0 .
For A B C = E F G , we find the possible number of A B C which is 9 0 0 .
The possible number of D is 10, so the number of lucky number if A B C = D E F is 9 0 0 × 1 0 = 9 0 0 0 .
There must be the same lucky number we get for A B C = D E F and A B C = E F G which are 1 1 1 1 1 1 1 , 2 2 2 2 2 2 2 , 3 3 3 3 3 3 3 , … 9 9 9 9 9 9 9 .
So the number of all lucky numbers is 9 0 0 0 + 9 0 0 0 − 9 = 1 7 9 9 1