Fortune Telling Collection - Comprehensive fortune-telling - What do the odd and even numbers of the ID card suffix represent?

What do the odd and even numbers of the ID card suffix represent?

18 bits are check codes, 0-9 and x, and as mantissa, the check codes are calculated by the numbering unit according to a unified formula, and the result is 0- 10. If someone's suffix is 0-9, then X will not appear, but if the suffix is 10, then X will be used instead, because if 10 is used as the suffix, then this person's ID card will become 65438+. X is the Roman numeral 10. Replace 10 with x.

According to [People's Republic of China (PRC) (PRC) national standard GB11643-1999], the citizenship number is a characteristic combination code, which consists of 17 digit digital ontology code and digital check code.

The serial code (ID number 15 to 17) is the distribution code of the police station under the jurisdiction of the county and district government. The distribution code of each police station is 10 continuous numbers, such as "000-009" or "060-069", where odd numbers are male distribution codes and even numbers are female distribution codes. In case there are more than two people on the same day of the same year, the second, third and sixth days will be postponed.

Calculation method of extended data ID number

1. Multiply the digits of the previous ID number 17 by different coefficients respectively. The coefficients from the first place to the seventeenth place are: 7-9-10-5-8-4-2-1-6-3-7-9-10-5-8-4-2.

2. Add the multiplication results of this 17 digit and the coefficient.

3. Divide the added sum by 1 1 to see what the remainder is.

4. The remainder can only be11-2-3-4-5-6-7-8-9-10. The number corresponding to the last ID card is 1-0-X-9-8-7-6-5-4-3-2. (that is, the remainder 0 corresponds to 1, the remainder 1 corresponds to 0, and the remainder 2 corresponds to x ...)

5. As can be seen from the above, if the remainder is 3, 9 will appear in the18th digit of the ID card. If the corresponding number is 2, the last digit of the ID card is the Roman numeral X. ..

For example, a man's ID number is 53010219200508011x. Let's see if this ID card is legal.

First of all, we get (5 * 7)+(3 * 9)+(0 *10)+(1* 5)+(0 * 8)+(2 * 4)+(1*) +( 1*4)+( 1*2) is 189, and then divided by 1 1, the result is189//kloc-0.

Baidu Encyclopedia-Resident ID Number