0-9 = 10 numbers
every full set of 10 numbers presents a multiple of 10 variations.
consider if it was a 1-digit code, using 0-9.
the code could be:
0
1
2
3
4
5
6
7
8
or
9
that's 10 options.
now if it were a 2-digit code, your 10 options are permutated 10 more times (10^2).
in practise that looks like
00
01
02
03...
08
09
10
11
12
13...
18
19
20
21
and so on.
you're going from 00 to 99, so, all told, it's 100 permutations.
written simply, that's: 10*10=100 or: 10^2=100
now, if it's a 3-digit code, well, that's a whole notherpermutation of 10 for each of those previous 100 combinations.
it looks like:
000
001
002
003...
(all the way up to)...
996
997
998
999
that's 000 to 999, which is 1000 unique permutations.
written simply, that's: 10*10*10=1000 or better yet: 10^3=1000
the logic continues for a 4-digit code, for which there would be 10,000 permutations. (10^4=10,000)
if you're working with only a set of 9 numbers (for example 1-9 instead of 0-9), then you would simply apply exponents to 9 instead of 10. so a 3-digit code with numbers 1-9 has 729 possibile permutations (9^3 = 9*9*9 = 729)
Chat with our AI personalities
1000
There are 10000 such codes. Each of the numbers 0-9 can be in the first position. With each such first digit, each of the numbers 0-9 can be in the second position. With each such pair of the first two digits, each of the numbers 0-9 can be in the third position. etc.
In 2 digit numbers : 9, In 3 digit numbers : 18 + 162 = 180, In 4 digit numbers : 2187 + 486 + 27 = 2700, total = 9 + 180 + 2700 + 4 = 2893 simply 2 means:9 3 means:9*2=18 add one 0 so:180 4 means:9*3=27 add two 0 so:2700 then 10000 take four 0:4 total = 9 + 180 + 2700 + 4 = 2893 BY ASHOKKAVI MCA
104 or 10000
9