A pad lock has a 3 digit code. You are given the following information:
In the code 682, one digit is correct and in its correct place.
In the code 614, one digit is correct, but in the wrong place.
With 206, two digits are correct, but both are in the wrong place.
For 738, all digits are wrong.
Finally, for 380, one digit is correct, but in the wrong place.
What is the code to open the pad lock?
@venda saidSorry venda. Feel free to give it another go.
This is like the "mastermind" game my kids had,the one with the little coloured pegs.
The sequence is 062
In the code 682, one digit is correct and in its correct place. the 2
In the code 614, one digit is correct, but in the wrong place. the 6
With 206, two digits are correct, but both are in the wrong place. the 6 and the zero
For 738, all digits are wrong. o.k non in my answer
Finally, for 380, one digit is correct, but in the wrong place. [b]the zero
What is incorrect about my answer?
@venda saidIndeed it is like the game, so look at the two first conditions to find the correct solution.
This is like the "mastermind" game my kids had,the one with the little coloured pegs.
The sequence is 062
@Ponderable
O.k -got it now.
As Joe said in a previous puzzle, once you have something in your mind it's not easy to dislodge it.
In the first condition there can't be a 2 and a 6
The answer must be 042
@joe-shmo said[1] Assume 6 is correct and correctly placed. This contradicts condition [2] because the 6's are in the same place.
A pad lock has a 3 digit code. You are given the following information:
In the code 682, one digit is correct and in its correct place.
In the code 614, one digit is correct, but in the wrong place.
With 206, two digits are correct, but both are in the wrong place.
For 738, all digits are wrong.
Finally, for 380, one digit is correct, but in the wrong place.
What is the code to open the pad lock?
Assume 8 is correct in condition [1], this contradicts condition [4].
Thus, 2 is correct and in the correct place ( 6 and 8 are not correct ) :
The code is : XX2
By condition [3], we know 0 is correct, but incorrectly placed ( we know the place of 2, and 6 is not correct ) :
The code is: 0X2
By [2] if we assume 1 is correct it contradicts [2], because it would be a correct digit, and correctly placed. We know 6 is not correct, thus 4 is the digit in [2] that is correct and incorrectly placed.
The code is: 042