The reason PINs are typically 4 digits is that the inventor's wife (John Adrian Shepherd-Barron's wife) could only remember 4 digits. Had she not mentioned this they would have been 6 digits.