I just got my new SIN at Service Canada (i landed last Tuesday). As soon as I took my first look at the number, I had this question in my mind: how was this number generated? I know that first digit of the SIN tells whether you are Canadian (PR/citizen) or not, and which province you come from...