13
$\begingroup$

The standard Slitherlink rules apply. However, first replace $A_1$, $A_2$, $B_1$, $B_2$, $C_1$, $C_2$, $D_1$, and $D_2$; such that the Slitherlink is uniquely solvable.

Moreover, these equations must also be correct:

  • $A_1 + A_2 = 0$
  • $B_1 + B_2 = 1$
  • $C_1 + C_2 = 2$
  • $D_1 + D_2 = 3$

enter image description here

$\endgroup$
9
$\begingroup$

The solution is:

enter image description here

Step 1:

Set A1=0, A2=0, B1=1, B2=0, C1=1, C2=1, D1=1 and D2=2. There is now only one way to complete the loop around the three 3's. The 2 at the bottom of col 3 can only be satisfied by being passed with a diagonal action, meaning there must be a loop segment along the bottom of the grid to its right. There is also only one way to satisfy the 1 on the top row:

enter image description here

Step 2:

In order for the three adjacent 1's to be satisfied, the loop must pass to the left of the leftmost one (or it ends up trapped in the corner) and there is only one way to satisfy the other two 1's in the group. The line can be extended further downwards to satisfy the 1 at the end of row 5, and there is also only one way to resolve the 1 in the bottom-right corner.

enter image description here

Step 3:

Next, note that there must be a segment to the right of the middle 2 in the bank of three 2's, as the topmost 2 must be bypassed diagonally and this is the only way to avoid forming two separate loops.

enter image description here

Then focus on the rightmost 3. If we had a line segment going right from it, we would end up unable to satisfy the 2's and avoid forming two separate loops, so instead the loop must go downwards from the 3. This forces the position of the loop round the 2 at the bottom of col 3.

enter image description here

Step 4:

Finally, there is only one way to resolve the 2 at the bottom of col 5, and the final segments are forced. So there you have it - an initial setup with only one logically deducible solution!

enter image description here

Remarks on setting the initial values:

Here I explain the thought processes that actually led me to settle on this combination of starting numbers. However, please also read @Retudin's answer as I think they've done a nice job of explaining this part diagrammatically...

Trivially, A1 and A2 must both be 0.

Since this then forces the loop down the left-hand side of the grid past the 3's, we can rule out D1 and D2 as some combination of 0 and 3, as this will be impossible to satisfy. Furthermore, D1=2 and D1=1 will not result in unique solutions, since the path could pass D1 in 2 different ways - thus we must have D1=1 and D2=2.

Crucially now to avoid this generating two possible solutions (thereby making the solution non-unique), we need some way to prevent the loop around D2 having two possible orientations. This means the loop must pass down from the rightmost 3 to use the top-right dot of D2 and continue on rightwards. This means we'll need to find a way to ensure that that pair of segments can't be positioned elsehow, being careful of ambiguities around the three 2's...

At this stage a little experimentation with the values of B1 and B2 (one of which must be 1 and the other 0) led me to deduce that B1=1 and B2=0, since if B2=1 the loop would have to go up past the 1 at the end of row 3 on the right-hand side, and then loop around and down between the other two 1's - but then this resulted in ambiguities among the 2's (previously mentioned as undesirable in the paragraph above) both when C1=1 and C2=1 and when C1=2 and C2=0 (the third combination of C1=0 and C2=2 makes it impossible to navigate the bottom right-hand corner of the grid in any situation). Thus B1=1 and B2=0, which in turn meant that C1 and C2 must both be 1, as any other arrangement for them is now impossible.

$\endgroup$
  • $\begingroup$ This is correct and well done! But it somehow missed the part "how to get those numbers" in the first place (albeit this might need some meta uniqueness logic -- while solving the puzzle!) $\endgroup$ – athin Nov 25 '20 at 11:56
  • 1
    $\begingroup$ @athin Ah, ok - I'll add some remarks to my answer... $\endgroup$ – Stiv Nov 25 '20 at 11:56
6
$\begingroup$

OK too late.. (except that I handled the meta uniqueness)

enter image description here We can easily see that the red part is mandatory to satisfy the 3s and A2=0. That means the Ds cannot be 3-0. The only way to make them 2-1 unique is to have the link also touch the corner of the 2 which forces the orange part.
The Bs are 1-0 (which forces the light green part, depending on which B is 1).
If B2 is 1 then there are multiple solutions (light blue and dark blue); if the Cs are 1-1 (first picture) and also if the Cs are 2-0 (second picture)
This leaves the possibility B1=1, which give the solution of the third picture, which indeed has a unique solution for its values.

$\endgroup$
  • 1
    $\begingroup$ +1 for this - it's a nice clear way to present this part of the puzzle. You posted just when I'd started to add similar remarks to my own answer on OP's request, so I've deliberately avoided replicating the diagrams and have instead directed people to your answer as a useful companion to my explanations of my thought processes :) $\endgroup$ – Stiv Nov 25 '20 at 12:21
  • $\begingroup$ @Stiv thx. Could you be so kind to link "indeed has a unique solution for its values." to your answer? (or give me pointers how to do that) $\endgroup$ – Retudin Nov 25 '20 at 12:29
  • $\begingroup$ Sure thing :) Not sure if it requires a rep-level to see the 'share' option below the answer (next to 'edit', 'follow' and 'flag') so I'll do that quickly for you now...! (But that's how you would get the link to an individual answer, which you can then insert like a normal hyperlink...) $\endgroup$ – Stiv Nov 25 '20 at 12:31
  • $\begingroup$ +1 for this one too, this is a very nice visualization for the uniqueness part (and great as a companion) :D $\endgroup$ – athin Nov 26 '20 at 2:22
  • $\begingroup$ @Stiv: I submitted an edit (pending review) to improve the links in both your answers. Using the # makes the browser automatically jump to the post instead of reloading the whole page. $\endgroup$ – user21820 Nov 26 '20 at 5:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.