+-----------+---------+ | 1 4 6 7 3 | R R R B | +-----------+---------+ | 0 2 6 3 7 | B B B | +-----------+---------+ | 6 9 3 0 8 | R | +-----------+---------+ | 5 6 0 7 3 | R R | +-----------+---------+ | 5 9 4 1 8 | R B | +-----------+---------+Each of the rows of the table given above indicates an attempt to find out the secret number.
• Each key has, in the column to the right has the letters R and B.
• Each R indicates that this digit has one digit common with the secret number, but in a different position.
• Each B indicates that the number has one digit common with the secret number in the same position.
Determine the secret number, given that the 3-digit number constituted by concatenating the last three digits (reading left to right) is a prime number.