Now that the new school year has started, Christian Robert has picked up solving the Le Monde mathematical puzzles using R again, which leads me to solving them without R… Last week-end’s puzzle is:
Alice’s PIN number is made of four different non-zero digits. She remembers it by noting that when she sums all two-digit numbers that can be made out of those four digits, and multiplies this sum by 7, she gets her PIN number back.
If the PIN number is written , it is easy to check that the sum computed by Alice is equal to . Thus .
The sum can take values between 10 and 30. Since 231 is divisible by 3, so is . Hence (by the rule used to check for divisibility by 3), is divisible by 3. This makes divisible by 9, and so (by the rule used to check for divisibility by 9) is also divisible by 9.
The only possible values for are 18 and 27. It turns out that the only value which works is 18. Hence the PIN number is (and the sum of those four digits is indeed equal to 18).