Uniform Civil Number - Structure

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:

  1. Each digit is multiplied by its weight (see below)
  2. The products obtained are added
  3. The sum is divided by 11 ( use sum % 11, not /, modulus, not division)
  4. If the remainder is less than 10, the remainder is the checksum digit, otherwise the checksum digit is zero
+------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+ | Position | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | +------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+ | Weight | x2 | x4 | x8 | x5 | x10 | x9 | x7 | x3 | x6 | | +------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+

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:

    It is difficult even to choose the adjective
    For this blank cold, this sadness without cause.
    The great structure has become a minor house.
    No turban walks across the lessened floors.
    The greenhouse never so badly needed paint.
    Wallace Stevens (1879–1955)

    One theme links together these new proposals for family policy—the idea that the family is exceedingly durable. Changes in structure and function and individual roles are not to be confused with the collapse of the family. Families remain more important in the lives of children than other institutions. Family ties are stronger and more vital than many of us imagine in the perennial atmosphere of crisis surrounding the subject.
    Joseph Featherstone (20th century)

    ... the structure of a page of good prose is, analyzed logically, not something frozen but the vibrating of a bridge, which changes with every step one takes on it.
    Robert Musil (1880–1942)