4000 of them.
the first for numbers of a credit card is well... the first 4 numbers for ex. 0000 0000 0000 0000 the first 4 ... its simple
A002B07D16 -> binary A 1010 0 0000 0 0000 2 0010 B 1011 0 0000 7 0111 D 1101 A002B07D16 = 1010 0000 0000 0010 1011 0000 0111 11012 10 100 000 000 000 101 011 000 001 111 1012 -> octal 010 2 100 4 000 0 000 0 000 0 101 5 011 3 000 0 001 1 111 7 101 5 10 100 000 000 000 101 011 000 001 111 1012 = 240005301758 A002B07D16 = 24 000 530 1758
0000 0001 0010 0011 0100 0101
10^4 or 10,000, assuming that 0000 is a valid number. 0000, 0001, 0002, ..., 9997, 9998, 9999.
every number from 0000 to 9999
6 and 28
192 = 1100 0000 168 = 1010 1000 0 = 0000 0000 1 = 0000 0001 192.168.0.1 = 11000000.10101000.00000000.00000001 = 11000000.10101000.0.1
To consider the difference between straight binary and BCD, the binary numbers need to be split up into 4 binary digits (bits) starting from the units. In 4 bits there are 16 possible values from 0000 to 1111 (0 to 15). In straight binary all of these possible combinations are used, thus: 4 bits can represent the decimal numbers 0-15 8 bits can represent the decimal numbers 0-255 12 bits can represent the decimal numbers 0-4095 16 bits can represent the decimal numbers 0-65535 etc In arithmetic, all combinations of bits are used, thus: 0000 1001 + 0001 = 0000 1010 In BCD or Binary Coded Decimal, only the representations of the decimal numbers 0-9 are used (that is 0000 to 1001 in binary), and the 4-bits (nybbles) are read as decimal digits, thus: 4 bits can represent the decimal digits 0-9 8 bits can represent the decimal digits 0-99 12 bits can represent the decimal digits 0-999 16 bits can represent the decimal digits 0-9999 In arithmetic, only the representations of decimal numbers are used, thus: 0000 1001 + 0001 = 0001 0000 When BCD is used each half of a byte is read directly as a decimal digit. BCD is obviously inefficient as storage (for large numbers) as each nybble is only holding 3/8 of the possible numbers, however, it is sometimes easier and quicker to work with decimal digits (for example when there is lots of display of counting numbers to do there is less binary to decimal conversion needing to be done).
6 and 28
If leading zeros are allowed, then you have 0000 through 9999 which is 10,000 numbers.If leading zeros not allowed: the smallest four-digit number is 1000, eliminating 0000 through 0999 (one thousand numbers are not allowed), so it is 9,000 numbers.
"Citibank Malaysia has several phone numbers, depending on the region. They are as follows: 03-2383 0000 (KL), 04-296 0000 (Penang), 07-268 0000 (JB), 09-509 0000 (Kuantan), 06-852 0000 (Melaka), and 1800-82-1010 (Sabah & Sarawak)."