PESEL
From Wikipedia, the free encyclopedia
PESEL (Polish Powszechny Elektroniczny System Ewidencji LudnoĊci, Universal Electronic System for Registration of the Population) is the national identification number used in Poland since 1979.
The PESEL number is mandatory for all permanent residents of Poland and for temporary residents living in Poland for over 2 months.
It has the form YYMMDDZZZXQ, where YYMMDD is the date of birth (with century encoded in month field), ZZZ is the personal identification number, X denotes sex (even for females, odd for males) and Q is a control digit, which is used to verify if whether given PESEL can be correct or not. If the PESEL is ABCDEF GHIJK, then one can check if it is a possible valid number by computing
A*1 + B*3 + C*7 + D*9 + E*1 + F*3 + G*7 + H*9 + I*1 + J*3 + K*1
Valid PESEL numbers have zero as the final digit. This system works reliably well for catching one-digit mistakes and digit swaps.