【答案解析】Let d1, d2, m1 and m2, respectively, represent the first four digits of the customer’s initial password. Then, the entire password has the form d1d2m1m216.Because the maximum number of days per month is 31 and the number of months in a year is 12, d1can be only 0,1,2, or 3 and m1 can be only 0 or 1. The following summarizes the possible values for d1, d2, m1, and m2.

It is given that the fifth digit, which is 1, is the units digit of 7(d1+ m1). The only relevant multiple of 7 with units digit 1 is (7)(3) = 21, from which it follows that d1 + m1 = 3. Considering the restrictions on the values of the digits, then d1= 2 and m1 = 1 or d1 = 3 and m1 = 0. Also, it is given that the sixth digit, which is 6, is the units digit of 3(d2 + m2). The only relevant multiples of 3 with units digit 6 are (3)(2) = 6 and (3)(12) = 36, from which it follows that d2 + m2 = 2 or d2 + m2 = 12.Considering the restrictions on the values of the digits, if d2 + m2 = 2, then the only possibilities are d2 = 0 and m2 = 2 or d2=1 and m2 = 1 or d2 = 2 and m2 = 0. If d2 + m2 = 12, each of d2 and m2 is at least 3 because if either of the digits is less than 3, then the sum of the two digits cannot be 12. But if d1 = 2 and m1 =1, which is one of the possibilities for d1 and m1 above, then m2 can be only 0,1, or 2; and if d1 = 3 and m1 = 0, which is the other possibility above for d1 and m1 then d2 can be only 0 or 1. The table below summarizes the first four digits of the passwords that meet all conditions thus far.
