Problem #PRU-100474

Problems Set theory and logic Logic and set theory

Problem

One gambler had a pair of dice. Rolling them was something that kept him concentrated. As a result of frequent usage all the numbers were wiped off from both of the dice. In January the gambler went through a rough patch and decided to take a break from gambling. He understood he could not rely only on his luck which has recently failed him. Therefore, our gambler started doing mathematical puzzles to master his mind. The first puzzle is to paint digits on each side of both dice (one digit per one side) in such a way that any natural number between 1 and 31 inclusive can be obtained by putting one dice next to the other. We do not allow the digit “6” to be used as the digit “9” and vice versa. Is there any solution to this problem?