10进制 | 2进制 | 10进制 | 2进制 | 10进制 | 2进制 | 10进制 | 2进制 | 10进制 | 2进制 |
0 | 0 | 20 | 10100 | 40 | 101000 | 60 | 111100 | 80 | 1010000 |
1 | 1 | 21 | 10101 | 41 | 101001 | 61 | 111101 | 81 | 1010001 |
2 | 10 | 22 | 10110 | 42 | 101010 | 62 | 111110 | 82 | 1010010 |
3 | 11 | 23 | 10111 | 43 | 101011 | 63 | 111111 | 83 | 1010011 |
4 | 100 | 24 | 11000 | 44 | 101100 | 64 | 1000000 | 84 | 1010100 |
5 | 101 | 25 | 11001 | 45 | 101101 | 65 | 1000001 | 85 | 1010101 |
6 | 110 | 26 | 11010 | 46 | 101110 | 66 | 1000010 | 86 | 1010110 |
7 | 111 | 27 | 11011 | 47 | 101111 | 67 | 1000011 | 87 | 1010111 |
8 | 1000 | 28 | 11100 | 48 | 110000 | 68 | 1000100 | 88 | 1011000 |
9 | 1001 | 29 | 11101 | 49 | 110001 | 69 | 1000101 | 89 | 1011001 |
10 | 1010 | 30 | 11110 | 50 | 110010 | 70 | 1000110 | 90 | 1011010 |
11 | 1011 | 31 | 11111 | 51 | 110011 | 71 | 1000111 | 91 | 1011011 |
12 | 1100 | 32 | 100000 | 52 | 110100 | 72 | 1001000 | 92 | 1011100 |
13 | 1101 | 33 | 100001 | 53 | 110101 | 73 | 1001001 | 93 | 1011101 |
14 | 1110 | 34 | 10010 | 54 | 110110 | 74 | 1001010 | 94 | 1011110 |
15 | 1111 | 35 | 100011 | 55 | 110111 | 75 | 1001011 | 95 | 1011111 |
16 | 10000 | 36 | 100100 | 56 | 111000 | 76 | 1001100 | 96 | 1100000 |
17 | 10001 | 37 | 100101 | 57 | 111001 | 77 | 1001101 | 97 | 1100001 |
18 | 10010 | 38 | 100110 | 58 | 111010 | 78 | 1001110 | 98 | 1100010 |
19 | 10011 | 39 | 100111 | 59 | 111011 | 79 | 1001111 | 99 | 1100011 |
1100:
1表示8的个数;
1表示4的个数;
0表示2的个数;
0表示1的个数.
即,2 ^3 、2 ^2、2 ^1、2 ^0;
1 * 2^3 + 1 * 2^2 + 0 * 2^1 + 0 * 2^0
= 1 * 8 + 1 * 4 + 0 * 2 + 0 * 1
= 8 + 4 + 0 + 0
= 12