For Taiwanese nationals, ID numbers are created based upon specifics about their life, for example:
The first capital letter represents the initial household registration of the person, e.g. A for Taipei.
The first number, which is after the capital letter is either a 1 or a 2 which means male or female.
However, since the ID number given to foreigners has two capital letters, and the number after the letters can be something other than a 1 or a 2, the same principles cannot be used to work out details. Does anybody know what kind of formula or calculation is used to create ID numbers for foreigners?