101,196 views
26 votes
26 votes
What is the 5-digit code?

What is the 5-digit code?-example-1
User Lyubomir Velchev
by
3.1k points

1 Answer

23 votes
23 votes

9514 1404 393

Answer:

4 2 6 1 7 or 1 2 4 3 7

Explanation:

4 are correct of 1,3,4,6,7

3 are correct of 0,2,3,6,7

1 is correct of 0,3,6,8,7 -- so not both 3 and 6, meaning 1, 4, 7 are correct

Correct digits so far are 1, 4, 7 and one of {3, 6}. Line 2 tells another is 0 or 2; line 3 tells it is not 0. This adds 2 to the list of correct digits.

This makes the correct digits 1, 2, {3, 6}, 4, 7. We don't know whether the last digit is 3 or 6.

__

Looking at digits correctly placed, line 2 tells us the code is either ...

_ 2 6 _ 7 or _ 2 _ 3 7

Then line 1 fills in those blanks as ...

4 2 6 1 7 or 1 2 4 3 7

Either of these codes agrees with all of the clues.

User Hadock
by
3.1k points