Thread: crack it
View Single Post
Old 2005 June 14th, 06:34 AM   #3 (permalink)
arjmen
Grrr...
 
arjmen's Avatar
 
Join Date: Apr 2005
Posts: 1,268
arjmen is a TestMagic guru. Show your respect!arjmen is a TestMagic guru. Show your respect!
Re: crack it

1st digit can be any of 1 to 9 (can't be 0 ,since then the number wouldn't be a 9-digit number. Assuming of course that we're looking to form actual numbers and not just a 9-digit code)

2nd digit can be any of 9: 1 less than 0 to 9 to account for the 1st digit
3rd digit can be any of 8, 4th can be any of 7 etc..

Total number of 9-digit numbers that have different digits that exist = 9*9!
Too lazy to calculate.
arjmen is offline   Reply With Quote