In order to investigate a serious cyber security fraud affecting all Estonian residents, we need to generate and test all in principle possible potential personal identification codes of all Estonian residents. We must certainly do it in such a way that it would certainly cover all currently living residents of Estonia. Estonian personal identification code (for example 38506301653) is formed as follows: - first digit (3) indicates both the gender and birth century; - second and third digits (85) represent the last two digits of birth year (1985); - fourth and fifth digits (06) represent the month of birth (June); - sixth and seventh digits (30) represent the date of birth (30); - eighth, ninth and tenth digits (165) simply represent the sequence number (the combination 000 is not used); - eleventh digit (3) is an error correction code calculated from the previous ten digits according to a certain deterministic algorithm. We've prepared a small test serie and we know that it takes 1 hour and 14 minutes to test one million personal codes. We also know that checking everyone's personal identification number takes the same amount of time, and the oldest person currently alive in Estonia is 108 years old. Task: How long does it take to test all potential personal identification codes of all people currently living in Estonia?
In order to investigate a serious cyber security fraud affecting all Estonian residents, we need to generate and test all in principle possible potential personal identification codes of all Estonian residents. We must certainly do it in such a way that it would certainly cover all currently living residents of Estonia.
Estonian personal identification code (for example 38506301653) is formed as follows:
- first digit (3) indicates both the gender and birth century;
- second and third digits (85) represent the last two digits of birth year (1985);
- fourth and fifth digits (06) represent the month of birth (June);
- sixth and seventh digits (30) represent the date of birth (30);
- eighth, ninth and tenth digits (165) simply represent the sequence number (the combination 000 is not used);
- eleventh digit (3) is an error correction code calculated from the previous ten digits according to a certain deterministic
We've prepared a small test serie and we know that it takes 1 hour and 14 minutes to test one million personal codes. We also know that checking everyone's personal identification number takes the same amount of time, and the oldest person currently alive in Estonia is 108 years old.
Task:
How long does it take to test all potential personal identification codes of all people currently living in Estonia?
Step by step
Solved in 3 steps