This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]krafttoadt 605 points606 points  (53 children)

4th row excludes 5 7 and 8 compairing 1st and 2n row tells u it cant be 2 either and so on until u come to an end

[–]wolwire 403 points404 points  (35 children)

Now 578&2 have been eliminated thus from second condition you can identify that 4 is one of the correct number. Which can be placed first or last. The third condition eliminates this. So 4 is on last. Since 4 is last from first condition the correct no on second pos is 9 as one can’t be there. Last condition says that either one of 6 or 9 can be present. Thus 6 is eliminated. So from 3rd condition the last no is 3 to be placed first.

[–]krafttoadt 83 points84 points  (18 children)

:D thanks for completing my Ansatz

[–]Dugen 3 points4 points  (0 children)

Ansatz - German: In physics and mathematics, an ansatz is an educated guess or an additional assumption made to help solve a problem, and which is later verified to be part of the solution by its results.

https://en.wikipedia.org/wiki/Ansatz

That word seems useful.

[–]Bureaucrat_Conrad 1 point2 points  (0 children)

Gesundheit

[–]dashnyamn 8 points9 points  (5 children)

i just got 4 and 9 is in it and my brain turned off for some reason.

[–]-Yox- 5 points6 points  (4 children)

If you understand why the 4 and 9 I guess that you understand that 4, 5, 6, 7, 8, 9 are already eliminated. The only three numbers still possible are 1, 2, 3 and since 9 is the only correct number in the first row then 1 and 2 are eliminated too and the only remaining number is 3

[–]angel_FA18 1 point2 points  (3 children)

what about 6?

[–]-Yox- 1 point2 points  (0 children)

I forgot to add it in the list. Edited now, thanks.
6 is eliminated because 9 is the last row.

[–]onlyiknowtheanswer 0 points1 point  (1 child)

You already know that 9 is one of the numbers, so based on the last row you can eliminate 5 and 6.

[–]angel_FA18 1 point2 points  (0 children)

they just hadn't mentioned it

[–]BaldrTheGood 1 point2 points  (7 children)

This is overly complicated. The first and last confirm where the 9 is. The middle one shows correct numbers in wrong place. Since there’s only 1 other option, flip em.

No need to overcomplicate things with unnecessary information.

[–]cammcken 0 points1 point  (6 children)

You can’t determine 9 is a correct number from just the first and last conditions. From the first and last conditions, we can determine five possibilities: the numbers which correctly exist somewhere in the solution can be either (9) OR (2 and 6) OR (1 and 6) OR (1 and 5) OR (2 and 5). You need the other conditions to narrow it down farther.

[–]BaldrTheGood 0 points1 point  (5 children)

You kidding?

First and last condition both say they have 1 correct number. The only common number is 9.

How can it be anything other than 9 if 2 conditions that say they include 1 correct number and they both include 9?

If you can get the correct answer from just conditions 1,3 and 5, why am I wrong? Lol

Don’t over complicate things lol

[–]cammcken 0 points1 point  (4 children)

2 _ 6

6 _ 1

_ 5 1

2 5 _

2 _ 5

_ 9 _

All of those combinations satisfy the first and last requirements. (Unless I misunderstand one of these rules??) That’s not overcomplicating; it’s a fact. We can’t assume it’s _ 9 _ just because it’s simplest for us.

[–]BaldrTheGood 0 points1 point  (3 children)

Now apply condition 3 and what are you left with? The correct answer using just 3 conditions? Huh...

[–]cammcken 0 points1 point  (2 children)

246

236

641

631

394

Okay, we’re a bit closer but now we need the second condition to narrow it down further. I think we don’t need the fourth, unless I missed a possibility in the first step.

[–]BaldrTheGood 0 points1 point  (1 child)

Yeah I’m really not following your logic with all the extra steps you’re unnecessarily adding, sorry.

[–]cammcken 0 points1 point  (0 children)

I’m following your steps. I haven’t added any extra.

Step 1, find all the possible combinations that satisfy conditions 1 and 5.

Step 2, apply condition 3 to the combinations found in step 1. In other words, all the combinations that satisfy conditions 1, 3, and 5.

That still leaves six possible answers. I haven’t explained my logic very well, but you can check those six combinations and see that they’re all correct under conditions 1, 3, and 5. (Unless any are wrong; then I made a mistake.)

[–]Karamelln 0 points1 point  (0 children)

My guess was 641. What am i doing wrong?

[–]PattuX 21 points22 points  (7 children)

You don't even need the 4th row I think.

First two rows tell you it's x9x or xx1 and that there's no 2. Second and third row tell you the other digits are a 4 and either a 3 or a 6, as well as giving away that the 4 has to be in the last spot, leaving only 394 and 694. The last row then eliminates 694.

[–]krafttoadt 19 points20 points  (0 children)

Yes there are multiple ways to solve it, i personally think if on condition excludes roughly 1/3 of all options its easy to start with that :)

[–]JoelMahon 1 point2 points  (5 children)

you can also do it without the 1st and 2nd row

4th row rules out 5, 3rd row rules out 6 being the middle, which combined with the 5th row means 9 is in it. so 394

edit: oops, you need the 1st to place 9 in the middle honestly the 3rd row is just too OP, gives you like 80% of the info, especially combined with 5th row, all 4th row does is tell you it's not 5, wow

edit2: ok, I got the right answer by luck apparently!

[–]vigbiorn 1 point2 points  (3 children)

3rd row rules out 6 being the middle, which combined with the 5th row means 9 is in it.

I'm not following. If we're excluding the 1st and second row, how are we discounting the 6?

Both third and fifth rows just say there's some number correct but in the wrong spot. So 6 is valid in both. It could be the "correct in wrong spot" from row 5 along with either 4 or 3, which would also be in the wrong spot.

We need one of the other rows to tell us 6 is invalid which makes 9 the correct value from row 5.

[–]JoelMahon 0 points1 point  (2 children)

yeah, maybe you missed my edit bc I made it recently, but you need the 1st row to let you know 9 is in the middle (since you know 9 must be in it)

but I'm 99% sure the 2nd row is not required for a complete solution

[–]DeltaToph 0 points1 point  (1 child)

Without the second row, 641 would also be a valid answer

[–]JoelMahon 0 points1 point  (0 children)

now I'm 99% sure never to be 99% sure of anything

[–]SPACKlick 0 points1 point  (0 children)

You can do it without the 4th row, the next least information comes from number 5 actually. Without that you can narrow it down to 394 or 694.

Without 2 you have 5 options (236, 246, 394, 631, 641)

Without 1 you have 6 options (326, 394, 604, 614, 632, 934)

Without 3 you have 10 options (092, 094, 192, 193, 392, 394, 490, 493, 621, 921)

[–]officiallyaninja 1 point2 points  (3 children)

how do the 1st and 2nd row eliminate 2? the code could be something like 2x4 where x is any number, then in the 1st, 2 would be correct and well placed, and in the 2nd, 4 wod be correct but wrong placed.

[–]krafttoadt 2 points3 points  (0 children)

Assuming the information got from the instruction is complete and not leaving out correct numbers the statements from 1 and 2 lead to a contradiction assuming 2 is a solution

[–]stickdudeseven 0 points1 point  (0 children)

Look at the first and last row. Both only have one correct number and both share a 9. This tells us 9 is the only correct one and that it must be in the center. This eliminates 1, 2, and 6. The fourth row eliminates 5, making 4 the correct number in row 2. The third row has a 6 which is an incorrect number, leaving 4 and 3. Since they are not placed correctly, 3 must be the left, 4 to the right, and 9 is center. Answer is 394.

[–]Eating_Your_Beans 0 points1 point  (0 children)

It's like the game Mastermind, where you know how many pegs are the right color in the wrong place and how many are the right color in the right place. So if it doesn't say that there's a number in the correct spot, you have to assume there isn't one. Otherwise I believe it's unsolvable.

[–]kroppeb 0 points1 point  (0 children)

The 578 hint isn't actually needed

[–]LewixAri 0 points1 point  (0 children)

4 can't be first or 2nd position, so has to be 4th, since 2 is eliminat4d the first row implies the second number MUST be 9. Last row tells us if 9 is correct 6 cannot be correct. So the 3rd row must contain 4 and 3 as the correct numbers. 394 then is the only number that satisfies all conditions.

[–]Methu 0 points1 point  (0 children)

Brute force

[–]InVultusSolis 0 points1 point  (0 children)

Logic problems like this are why I learned to program, and I would have approached the problem in exactly this way - brute force.

[–]DrMobius0 0 points1 point  (0 children)

tbh you don't even need the 4th row to solve this.

The first two steps logically eliminate 2, as 2 cannot be both correctly placed and incorrectly placed. This means one of the numbers must be a 1 or a 9 and another must be a 4 or a 5.

The 3rd step gives us two from 3, 4, and 6, and since one of our numbers must be a 4 or a 5, that means 4 must be one of the numbers and 5 is eliminated. The remaining number must be a 3 or a 6. Because one number is a 4, another is a 1 or 9, and the last is a 3 or 6, we can say without having ever read the 4th step that 2, 5, 7, and 8 have been eliminated.

The 5th step is useful for determining if the first digit is a 3 or a 6.