Structure
The initial six digits correspond to the birth date (YYMMDD). Since there are only two digits reserved for the year, only years between 1900 and 1999 can be encoded directly. Other years get represented as follows:
- for births before 1 January 1900, 20 is added to the month
- for births from 31 December 1999 to 31 December 2099, 40 is added to the month
The next three digits designate the birth order number, the third digit being even for males and odd for females. Each district is assigned a range of three-digit numbers, used consecutively, altering even and odd numbers between males and females born on the particular day. In rare cases, numbers are "borrowed" from an adjacent district.
The tenth digit is a checksum, calculated using the following algorithm:
- Each digit is multiplied by its weight (see below)
- The products obtained are added
- The sum is divided by 11 ( use sum % 11, not /, modulus, not division)
- If the remainder is less than 10, the remainder is the checksum digit, otherwise the checksum digit is zero
The weights are the powers of 2, modulo 11. (See also: Galois field applications)
Read more about this topic: Uniform Civil Number
Famous quotes containing the word structure:
“Each structure and institution here was so primitive that you could at once refer it to its source; but our buildings commonly suggest neither their origin nor their purpose.”
—Henry David Thoreau (18171862)
“... the structure of our public morality crashed to earth. Above its grave a tombstone read, Be toleranteven of evil. Logically the next step would be to say to our commonwealths criminals, I disagree that its all right to rob and murder, but naturally I respect your opinion. Tolerance is only complacence when it makes no distinction between right and wrong.”
—Sarah Patton Boyle, U.S. civil rights activist and author. The Desegregated Heart, part 2, ch. 2 (1962)
“If rightly made, a boat would be a sort of amphibious animal, a creature of two elements, related by one half its structure to some swift and shapely fish, and by the other to some strong-winged and graceful bird.”
—Henry David Thoreau (18171862)