When discussing the PPSN I drew students' attention to the relationship between the loop counter (n) and the multiplier.
| n | multiplier |
|---|---|
| 0 | 8 |
| 1 | 7 |
| 2 | 6 |
| 3 | 5 |
| 4 | 4 |
| 5 | 3 |
| 6 | 2 |
The multiplier is 8-n
When discussing the henkilötunnus I wasn't clear on whether the start of the list of check letters was considered 0 or 1. It's 0. So 311280-999J is a valid henkilötunnus.
I have updated the slides so this is clearer.
No comments:
Post a Comment