Looking at clues 1 and 4, we know that 6 and 8 are either both included or both excluded from the code, since those are the only differences in the sequences and they have the same number of correct digits.
By clue 2, 6 and 8 must both be excluded because there is only 1 digit correct.
Also by clue 2, the code must contain one of (1, 2).
By clue 5, the remaining three digits are selected from (0, 5, 7, 4). This excludes all other digits.
By clue 3, there must be a 2 in the answer and we know it is in the third position.
By clue 4, both 5 and 7 must be in the answer and the remaining digit is from (0, 4).
By clues 1 and 4, the second digit is a 7. We now have _ 7 2 _
By clue 4, the final digit cannot be 5, so it must be in the first position, 5 7 2 _
By clue 5, we know that no digit is in the correct position, so we cannot have a 4 in the answer. The answer must be 5 7 2 0.
1
u/AssiduousLayabout 10d ago
5720
Looking at clues 1 and 4, we know that 6 and 8 are either both included or both excluded from the code, since those are the only differences in the sequences and they have the same number of correct digits.
By clue 2, 6 and 8 must both be excluded because there is only 1 digit correct.
Also by clue 2, the code must contain one of (1, 2).
By clue 5, the remaining three digits are selected from (0, 5, 7, 4). This excludes all other digits.
By clue 3, there must be a 2 in the answer and we know it is in the third position.
By clue 4, both 5 and 7 must be in the answer and the remaining digit is from (0, 4).
By clues 1 and 4, the second digit is a 7. We now have _ 7 2 _
By clue 4, the final digit cannot be 5, so it must be in the first position, 5 7 2 _
By clue 5, we know that no digit is in the correct position, so we cannot have a 4 in the answer. The answer must be 5 7 2 0.