What is the code?

Standard memberRemoved
Posers and Puzzles 23 Mar '21 16:38
  1. R
    Standard memberRemoved
    Joined
    10 Dec '06
    Moves
    8528
    23 Mar '21 16:38
    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?
  2. Standard memberBigDogg
    Secret RHP coder
    on the payroll
    Joined
    26 Nov '04
    Moves
    155080
    24 Mar '21 01:08
  3. R
    Standard memberRemoved
    Joined
    10 Dec '06
    Moves
    8528
    24 Mar '21 13:03
  4. Subscribervenda
    Dave
    S.Yorks.England
    Joined
    18 Apr '10
    Moves
    83651
    24 Mar '21 14:04
    This is like the "mastermind" game my kids had,the one with the little coloured pegs.
    The sequence is 062
  5. R
    Standard memberRemoved
    Joined
    10 Dec '06
    Moves
    8528
    24 Mar '21 14:06
    @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.
  6. Subscribervenda
    Dave
    S.Yorks.England
    Joined
    18 Apr '10
    Moves
    83651
    24 Mar '21 14:12
    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?
  7. SubscriberPonderable
    chemist
    Linkenheim
    Joined
    22 Apr '05
    Moves
    654995
    24 Mar '21 14:13
    @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.
  8. Subscribervenda
    Dave
    S.Yorks.England
    Joined
    18 Apr '10
    Moves
    83651
    24 Mar '21 14:171 edit
    @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
  9. Standard memberBigDogg
    Secret RHP coder
    on the payroll
    Joined
    26 Nov '04
    Moves
    155080
    24 Mar '21 14:18

    Removed by poster

  10. R
    Standard memberRemoved
    Joined
    10 Dec '06
    Moves
    8528
    24 Mar '21 14:416 edits
    @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
Back to Top

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