Go back
What is the code?

What is the code?

Posers and Puzzles

R
Standard memberRemoved

Joined
10 Dec 06
Moves
8528
Clock
23 Mar 21
Vote Up
Vote Down

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?

BigDogg
Secret RHP coder

on the payroll

Joined
26 Nov 04
Moves
155080
Clock
24 Mar 21
Vote Up
Vote Down

@joe-shmo

042

R
Standard memberRemoved

Joined
10 Dec 06
Moves
8528
Clock
24 Mar 21
Vote Up
Vote Down

@BigDoggProblem

Correct!

venda
Dave

S.Yorks.England

Joined
18 Apr 10
Moves
86199
Clock
24 Mar 21
Vote Up
Vote Down

This is like the "mastermind" game my kids had,the one with the little coloured pegs.
The sequence is 062

R
Standard memberRemoved

Joined
10 Dec 06
Moves
8528
Clock
24 Mar 21
Vote Up
Vote Down

@venda said
This is like the "mastermind" game my kids had,the one with the little coloured pegs.
The sequence is 062
Sorry venda. Feel free to give it another go.

venda
Dave

S.Yorks.England

Joined
18 Apr 10
Moves
86199
Clock
24 Mar 21
Vote Up
Vote Down

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?

Ponderable
chemist

Linkenheim

Joined
22 Apr 05
Moves
669977
Clock
24 Mar 21
Vote Up
Vote Down

@venda said
This is like the "mastermind" game my kids had,the one with the little coloured pegs.
The sequence is 062
Indeed it is like the game, so look at the two first conditions to find the correct solution.

venda
Dave

S.Yorks.England

Joined
18 Apr 10
Moves
86199
Clock
24 Mar 21
1 edit
Vote Up
Vote Down

@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

BigDogg
Secret RHP coder

on the payroll

Joined
26 Nov 04
Moves
155080
Clock
24 Mar 21
Vote Up
Vote Down

R
Standard memberRemoved

Joined
10 Dec 06
Moves
8528
Clock
24 Mar 21
6 edits
Vote Up
Vote Down

@joe-shmo said
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?
[1] Assume 6 is correct and correctly placed. This contradicts condition [2] because the 6's are in the same place.

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

Cookies help us deliver our Services. By using our Services or clicking I agree, you agree to our use of cookies. Learn More.