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:
“Agnosticism is a perfectly respectable and tenable philosophical position; it is not dogmatic and makes no pronouncements about the ultimate truths of the universe. It remains open to evidence and persuasion; lacking faith, it nevertheless does not deride faith. Atheism, on the other hand, is as unyielding and dogmatic about religious belief as true believers are about heathens. It tries to use reason to demolish a structure that is not built upon reason.”
—Sydney J. Harris (19171986)
“The verbal poetical texture of Shakespeare is the greatest the world has known, and is immensely superior to the structure of his plays as plays. With Shakespeare it is the metaphor that is the thing, not the play.”
—Vladimir Nabokov (18991977)
“A structure becomes architectural, and not sculptural, when its elements no longer have their justification in nature.”
—Guillaume Apollinaire (18801918)