Thursday, December 17, 2009

What are all the possible 5 number combinations using numbers 0-9 only?

They can be repeated numbers i just need to find out all the possible combinations using numbers 0,1,2,3,4,5,6,7,8,9 that are


5 digits long...What are all the possible 5 number combinations using numbers 0-9 only?
good luck.. the possible combinations are





10x10x10x10x10 (since you allow repititions)





so that gives you a list of 100,000 numbers starting with 00,000 (which I suppose is technically not a number since it is nothing so reduce the list to 99,999)





good luck...What are all the possible 5 number combinations using numbers 0-9 only?
11111


22222


33333


44444


55555


66666


77777


88888


99999


11112


..........


And carry on like that be systematic about it





Good luck xxx
100,000 with leading zeroes.


90,000 without a leading zero.
There are 90,000 combinations, from 10,000 to 99,999
10x10x10x10x10=100 000
5^10 = 9765625
you want numbers or strings?





numbers cannot have leading zeros. strings can.





5 digit numbers


= 99999 - 9999


= 90000





5 digit strings


= 10^5


= 100000
Start 10000 and count 99999

No comments:

Post a Comment