7 bits can make 128 distinct codes.
Chat with our AI personalities
There are 1,000,000 ways of writing out a six digit number, if you are starting with 000000 and ending with 999999. You are taking the number of possible numbers in the first position (10) and multiplying it by the number of possible numbers in the second position (again, 10), and continuing on till the sixth position. In other words, 10 to the sixth. With 10 representing the number of possible numbers (0 through 9) and six being the number of digits in number code. If it is an alphanumeric code, then you would take the 26 letters plus the 10 numbers to get 36, and take that to the 6th power. Substantially greater.
The answer is five factoral (5!) which is 120.
i would like a list all possible 4 digit combination using 0-9
If the digits can repeat, then there are 256 possible combinations. If they can't repeat, then there are 24 possibilities.
'2' Decimal code => '10' Binary code.