In North China, the provinces represented by the first two digits of the ID card are:
Beijing: 1 1
Tianjin: 12
Hebei province: 13
Shanxi Province: 14
Inner Mongolia Autonomous Region: 15
Description, about the number on the ID card:
1, before 1 and 2 digits indicate: the code of this province; The third and fourth digits indicate: the code of the city; The 5th and 6th digits indicate: district code; The 7th to14th digits indicate: date of birth; Numbers 15 and 16 indicate the codes of local police stations; The number 17 indicates gender: odd numbers are male and even numbers are female.
2. The bit 18 is the check code: it is generally generated randomly by a computer to check the correctness of the ID card. The check code can be a number from 0 to 9, sometimes represented by X.