A new 4 x 4 arrow puzzle
$begingroup$
Can anyone help me with solving this puzzle:
Draw arrows in all fields around the diagram in a way that every arrow is pointing at least one number inside. The numbers inside the boxes equal the number of arrows pointing at them. The arrows can point horizontally, vertically or diagonally.
Here is an example showing how to solve this type of puzzle.
This is from a job interview so I have no source.
grid-deduction
$endgroup$
add a comment |
$begingroup$
Can anyone help me with solving this puzzle:
Draw arrows in all fields around the diagram in a way that every arrow is pointing at least one number inside. The numbers inside the boxes equal the number of arrows pointing at them. The arrows can point horizontally, vertically or diagonally.
Here is an example showing how to solve this type of puzzle.
This is from a job interview so I have no source.
grid-deduction
$endgroup$
$begingroup$
I believe there are 2^8 + (3^8) = 6817 combinations of puzzle solutions, so in principle this can be bruteforced.
$endgroup$
– Parseltongue
Nov 13 '18 at 16:18
2
$begingroup$
@Parseltongue I think your math is off; it should actually be 2^8 times 3^8 = 1679616, shouldn't it? Still trivial for a modern computer, but obviously it scales far too quickly to be a feasible approach at higher size squares. This makes me curious whether this is a NP problem; I can see a way of mapping it to a Boolean satisfiability problem, which would be NP (though that's certainly not the most efficient approach), and the sums can probably provide more information, perhaps revealing an algorithm in P. But it reminds me of Sudoku, which is in NP... I wonder.
$endgroup$
– Graham
Nov 13 '18 at 20:58
$begingroup$
You're right! My mistake. And those were my thoughts as well... I immediately started trying to code up an algorithm to solve this, but decided Brute Force was easiest.
$endgroup$
– Parseltongue
Nov 13 '18 at 21:04
$begingroup$
Here is an "assisted solver" I whipped up to play around with this puzzle. It's just a bare-bones set of<button>
and<span>
elements in a grid. The values in the grid update live as you rotate the arrows. I see that the answer has already been posted, and a tool like this probably already exists, but perhaps someone will find this one useful.
$endgroup$
– benj2240
Nov 13 '18 at 23:15
$begingroup$
@benj2240 - that is absolutely amazing! Learned a lot reading the code.
$endgroup$
– Parseltongue
Nov 14 '18 at 18:57
add a comment |
$begingroup$
Can anyone help me with solving this puzzle:
Draw arrows in all fields around the diagram in a way that every arrow is pointing at least one number inside. The numbers inside the boxes equal the number of arrows pointing at them. The arrows can point horizontally, vertically or diagonally.
Here is an example showing how to solve this type of puzzle.
This is from a job interview so I have no source.
grid-deduction
$endgroup$
Can anyone help me with solving this puzzle:
Draw arrows in all fields around the diagram in a way that every arrow is pointing at least one number inside. The numbers inside the boxes equal the number of arrows pointing at them. The arrows can point horizontally, vertically or diagonally.
Here is an example showing how to solve this type of puzzle.
This is from a job interview so I have no source.
grid-deduction
grid-deduction
edited Dec 4 '18 at 16:53
GentlePurpleRain♦
17.1k569137
17.1k569137
asked Nov 13 '18 at 14:29
TeditedutuTeditedutu
562
562
$begingroup$
I believe there are 2^8 + (3^8) = 6817 combinations of puzzle solutions, so in principle this can be bruteforced.
$endgroup$
– Parseltongue
Nov 13 '18 at 16:18
2
$begingroup$
@Parseltongue I think your math is off; it should actually be 2^8 times 3^8 = 1679616, shouldn't it? Still trivial for a modern computer, but obviously it scales far too quickly to be a feasible approach at higher size squares. This makes me curious whether this is a NP problem; I can see a way of mapping it to a Boolean satisfiability problem, which would be NP (though that's certainly not the most efficient approach), and the sums can probably provide more information, perhaps revealing an algorithm in P. But it reminds me of Sudoku, which is in NP... I wonder.
$endgroup$
– Graham
Nov 13 '18 at 20:58
$begingroup$
You're right! My mistake. And those were my thoughts as well... I immediately started trying to code up an algorithm to solve this, but decided Brute Force was easiest.
$endgroup$
– Parseltongue
Nov 13 '18 at 21:04
$begingroup$
Here is an "assisted solver" I whipped up to play around with this puzzle. It's just a bare-bones set of<button>
and<span>
elements in a grid. The values in the grid update live as you rotate the arrows. I see that the answer has already been posted, and a tool like this probably already exists, but perhaps someone will find this one useful.
$endgroup$
– benj2240
Nov 13 '18 at 23:15
$begingroup$
@benj2240 - that is absolutely amazing! Learned a lot reading the code.
$endgroup$
– Parseltongue
Nov 14 '18 at 18:57
add a comment |
$begingroup$
I believe there are 2^8 + (3^8) = 6817 combinations of puzzle solutions, so in principle this can be bruteforced.
$endgroup$
– Parseltongue
Nov 13 '18 at 16:18
2
$begingroup$
@Parseltongue I think your math is off; it should actually be 2^8 times 3^8 = 1679616, shouldn't it? Still trivial for a modern computer, but obviously it scales far too quickly to be a feasible approach at higher size squares. This makes me curious whether this is a NP problem; I can see a way of mapping it to a Boolean satisfiability problem, which would be NP (though that's certainly not the most efficient approach), and the sums can probably provide more information, perhaps revealing an algorithm in P. But it reminds me of Sudoku, which is in NP... I wonder.
$endgroup$
– Graham
Nov 13 '18 at 20:58
$begingroup$
You're right! My mistake. And those were my thoughts as well... I immediately started trying to code up an algorithm to solve this, but decided Brute Force was easiest.
$endgroup$
– Parseltongue
Nov 13 '18 at 21:04
$begingroup$
Here is an "assisted solver" I whipped up to play around with this puzzle. It's just a bare-bones set of<button>
and<span>
elements in a grid. The values in the grid update live as you rotate the arrows. I see that the answer has already been posted, and a tool like this probably already exists, but perhaps someone will find this one useful.
$endgroup$
– benj2240
Nov 13 '18 at 23:15
$begingroup$
@benj2240 - that is absolutely amazing! Learned a lot reading the code.
$endgroup$
– Parseltongue
Nov 14 '18 at 18:57
$begingroup$
I believe there are 2^8 + (3^8) = 6817 combinations of puzzle solutions, so in principle this can be bruteforced.
$endgroup$
– Parseltongue
Nov 13 '18 at 16:18
$begingroup$
I believe there are 2^8 + (3^8) = 6817 combinations of puzzle solutions, so in principle this can be bruteforced.
$endgroup$
– Parseltongue
Nov 13 '18 at 16:18
2
2
$begingroup$
@Parseltongue I think your math is off; it should actually be 2^8 times 3^8 = 1679616, shouldn't it? Still trivial for a modern computer, but obviously it scales far too quickly to be a feasible approach at higher size squares. This makes me curious whether this is a NP problem; I can see a way of mapping it to a Boolean satisfiability problem, which would be NP (though that's certainly not the most efficient approach), and the sums can probably provide more information, perhaps revealing an algorithm in P. But it reminds me of Sudoku, which is in NP... I wonder.
$endgroup$
– Graham
Nov 13 '18 at 20:58
$begingroup$
@Parseltongue I think your math is off; it should actually be 2^8 times 3^8 = 1679616, shouldn't it? Still trivial for a modern computer, but obviously it scales far too quickly to be a feasible approach at higher size squares. This makes me curious whether this is a NP problem; I can see a way of mapping it to a Boolean satisfiability problem, which would be NP (though that's certainly not the most efficient approach), and the sums can probably provide more information, perhaps revealing an algorithm in P. But it reminds me of Sudoku, which is in NP... I wonder.
$endgroup$
– Graham
Nov 13 '18 at 20:58
$begingroup$
You're right! My mistake. And those were my thoughts as well... I immediately started trying to code up an algorithm to solve this, but decided Brute Force was easiest.
$endgroup$
– Parseltongue
Nov 13 '18 at 21:04
$begingroup$
You're right! My mistake. And those were my thoughts as well... I immediately started trying to code up an algorithm to solve this, but decided Brute Force was easiest.
$endgroup$
– Parseltongue
Nov 13 '18 at 21:04
$begingroup$
Here is an "assisted solver" I whipped up to play around with this puzzle. It's just a bare-bones set of
<button>
and <span>
elements in a grid. The values in the grid update live as you rotate the arrows. I see that the answer has already been posted, and a tool like this probably already exists, but perhaps someone will find this one useful.$endgroup$
– benj2240
Nov 13 '18 at 23:15
$begingroup$
Here is an "assisted solver" I whipped up to play around with this puzzle. It's just a bare-bones set of
<button>
and <span>
elements in a grid. The values in the grid update live as you rotate the arrows. I see that the answer has already been posted, and a tool like this probably already exists, but perhaps someone will find this one useful.$endgroup$
– benj2240
Nov 13 '18 at 23:15
$begingroup$
@benj2240 - that is absolutely amazing! Learned a lot reading the code.
$endgroup$
– Parseltongue
Nov 14 '18 at 18:57
$begingroup$
@benj2240 - that is absolutely amazing! Learned a lot reading the code.
$endgroup$
– Parseltongue
Nov 14 '18 at 18:57
add a comment |
4 Answers
4
active
oldest
votes
$begingroup$
The first clue I spotted was:
The second column has exactly one vertical arrow.
This can be proven as:
It can't have two vertical arrows because of the 1 in it. If it has zero vertical arrows, then the 4 at (2,2) is forced, and then the 4 at (2,4) is forced. But then the 4 at (4,4) can't be achieved, because of it's six arrow squares, three have already been used: (4,0), (0,4) and (3,5).
Secondly you can spot that:
As the 1 in the second column is already covered, the arrows on row 1 must point diagonally downwards.
$endgroup$
add a comment |
$begingroup$
I think this is the answer desired:
I started by
Assuming at least one arrows each in an inverted A shape, based on the prevalence of 5s and 4s, in columns 1 and 4, and rows 2 and 4. After that, it was primarily guesswork, placing lines, then working backwards to determine what arrows would cause those lines.
$endgroup$
$begingroup$
This is indeed the correct answer. bravo!
$endgroup$
– ABcDexter
Nov 13 '18 at 19:03
add a comment |
$begingroup$
This solution:
- places an arrow in every field around the diagram;
- each arrow points at one or more numbers inside;
- satisfies the condition of having the numbers in the boxes equaling the numbers of arrows pointing at them!
That being said, the person who is giving you the interview may not like it.
:P
$endgroup$
$begingroup$
These are a standard puzzle form: puzzlepicnic.com/puzzles... but something about this puzzle makes me believe it's unsolvable. I wonder if it's just one of those task-persistence measures given in job interviews to see how long you'll try before you give up. Or, if it is solvable, it doesn't have characteristics of other arrow puzzles, which generally have one square with only one logical set of arrows possible.
$endgroup$
– Parseltongue
Nov 13 '18 at 15:32
$begingroup$
I too thought about odd angles for arrows, but you sir are taking it to another level x)
$endgroup$
– Cashbee
Nov 13 '18 at 15:35
$begingroup$
Bottom left corner?
$endgroup$
– Greg
Nov 13 '18 at 15:49
$begingroup$
@Greg all of the outer squares it touches have an arrow pointing at it
$endgroup$
– Excited Raichu
Nov 13 '18 at 15:51
$begingroup$
Wow, that is next level!
$endgroup$
– Greg
Nov 13 '18 at 15:58
|
show 1 more comment
$begingroup$
This is a possibility:
I'm sure there are others.
$endgroup$
add a comment |
Your Answer
StackExchange.ifUsing("editor", function ()
return StackExchange.using("mathjaxEditing", function ()
StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix)
StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
);
);
, "mathjax-editing");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "559"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fpuzzling.stackexchange.com%2fquestions%2f75108%2fa-new-4-x-4-arrow-puzzle%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
4 Answers
4
active
oldest
votes
4 Answers
4
active
oldest
votes
active
oldest
votes
active
oldest
votes
$begingroup$
The first clue I spotted was:
The second column has exactly one vertical arrow.
This can be proven as:
It can't have two vertical arrows because of the 1 in it. If it has zero vertical arrows, then the 4 at (2,2) is forced, and then the 4 at (2,4) is forced. But then the 4 at (4,4) can't be achieved, because of it's six arrow squares, three have already been used: (4,0), (0,4) and (3,5).
Secondly you can spot that:
As the 1 in the second column is already covered, the arrows on row 1 must point diagonally downwards.
$endgroup$
add a comment |
$begingroup$
The first clue I spotted was:
The second column has exactly one vertical arrow.
This can be proven as:
It can't have two vertical arrows because of the 1 in it. If it has zero vertical arrows, then the 4 at (2,2) is forced, and then the 4 at (2,4) is forced. But then the 4 at (4,4) can't be achieved, because of it's six arrow squares, three have already been used: (4,0), (0,4) and (3,5).
Secondly you can spot that:
As the 1 in the second column is already covered, the arrows on row 1 must point diagonally downwards.
$endgroup$
add a comment |
$begingroup$
The first clue I spotted was:
The second column has exactly one vertical arrow.
This can be proven as:
It can't have two vertical arrows because of the 1 in it. If it has zero vertical arrows, then the 4 at (2,2) is forced, and then the 4 at (2,4) is forced. But then the 4 at (4,4) can't be achieved, because of it's six arrow squares, three have already been used: (4,0), (0,4) and (3,5).
Secondly you can spot that:
As the 1 in the second column is already covered, the arrows on row 1 must point diagonally downwards.
$endgroup$
The first clue I spotted was:
The second column has exactly one vertical arrow.
This can be proven as:
It can't have two vertical arrows because of the 1 in it. If it has zero vertical arrows, then the 4 at (2,2) is forced, and then the 4 at (2,4) is forced. But then the 4 at (4,4) can't be achieved, because of it's six arrow squares, three have already been used: (4,0), (0,4) and (3,5).
Secondly you can spot that:
As the 1 in the second column is already covered, the arrows on row 1 must point diagonally downwards.
answered Nov 13 '18 at 18:31
JonMark PerryJonMark Perry
20.6k64099
20.6k64099
add a comment |
add a comment |
$begingroup$
I think this is the answer desired:
I started by
Assuming at least one arrows each in an inverted A shape, based on the prevalence of 5s and 4s, in columns 1 and 4, and rows 2 and 4. After that, it was primarily guesswork, placing lines, then working backwards to determine what arrows would cause those lines.
$endgroup$
$begingroup$
This is indeed the correct answer. bravo!
$endgroup$
– ABcDexter
Nov 13 '18 at 19:03
add a comment |
$begingroup$
I think this is the answer desired:
I started by
Assuming at least one arrows each in an inverted A shape, based on the prevalence of 5s and 4s, in columns 1 and 4, and rows 2 and 4. After that, it was primarily guesswork, placing lines, then working backwards to determine what arrows would cause those lines.
$endgroup$
$begingroup$
This is indeed the correct answer. bravo!
$endgroup$
– ABcDexter
Nov 13 '18 at 19:03
add a comment |
$begingroup$
I think this is the answer desired:
I started by
Assuming at least one arrows each in an inverted A shape, based on the prevalence of 5s and 4s, in columns 1 and 4, and rows 2 and 4. After that, it was primarily guesswork, placing lines, then working backwards to determine what arrows would cause those lines.
$endgroup$
I think this is the answer desired:
I started by
Assuming at least one arrows each in an inverted A shape, based on the prevalence of 5s and 4s, in columns 1 and 4, and rows 2 and 4. After that, it was primarily guesswork, placing lines, then working backwards to determine what arrows would cause those lines.
answered Nov 13 '18 at 16:27
SconibulusSconibulus
14.6k128101
14.6k128101
$begingroup$
This is indeed the correct answer. bravo!
$endgroup$
– ABcDexter
Nov 13 '18 at 19:03
add a comment |
$begingroup$
This is indeed the correct answer. bravo!
$endgroup$
– ABcDexter
Nov 13 '18 at 19:03
$begingroup$
This is indeed the correct answer. bravo!
$endgroup$
– ABcDexter
Nov 13 '18 at 19:03
$begingroup$
This is indeed the correct answer. bravo!
$endgroup$
– ABcDexter
Nov 13 '18 at 19:03
add a comment |
$begingroup$
This solution:
- places an arrow in every field around the diagram;
- each arrow points at one or more numbers inside;
- satisfies the condition of having the numbers in the boxes equaling the numbers of arrows pointing at them!
That being said, the person who is giving you the interview may not like it.
:P
$endgroup$
$begingroup$
These are a standard puzzle form: puzzlepicnic.com/puzzles... but something about this puzzle makes me believe it's unsolvable. I wonder if it's just one of those task-persistence measures given in job interviews to see how long you'll try before you give up. Or, if it is solvable, it doesn't have characteristics of other arrow puzzles, which generally have one square with only one logical set of arrows possible.
$endgroup$
– Parseltongue
Nov 13 '18 at 15:32
$begingroup$
I too thought about odd angles for arrows, but you sir are taking it to another level x)
$endgroup$
– Cashbee
Nov 13 '18 at 15:35
$begingroup$
Bottom left corner?
$endgroup$
– Greg
Nov 13 '18 at 15:49
$begingroup$
@Greg all of the outer squares it touches have an arrow pointing at it
$endgroup$
– Excited Raichu
Nov 13 '18 at 15:51
$begingroup$
Wow, that is next level!
$endgroup$
– Greg
Nov 13 '18 at 15:58
|
show 1 more comment
$begingroup$
This solution:
- places an arrow in every field around the diagram;
- each arrow points at one or more numbers inside;
- satisfies the condition of having the numbers in the boxes equaling the numbers of arrows pointing at them!
That being said, the person who is giving you the interview may not like it.
:P
$endgroup$
$begingroup$
These are a standard puzzle form: puzzlepicnic.com/puzzles... but something about this puzzle makes me believe it's unsolvable. I wonder if it's just one of those task-persistence measures given in job interviews to see how long you'll try before you give up. Or, if it is solvable, it doesn't have characteristics of other arrow puzzles, which generally have one square with only one logical set of arrows possible.
$endgroup$
– Parseltongue
Nov 13 '18 at 15:32
$begingroup$
I too thought about odd angles for arrows, but you sir are taking it to another level x)
$endgroup$
– Cashbee
Nov 13 '18 at 15:35
$begingroup$
Bottom left corner?
$endgroup$
– Greg
Nov 13 '18 at 15:49
$begingroup$
@Greg all of the outer squares it touches have an arrow pointing at it
$endgroup$
– Excited Raichu
Nov 13 '18 at 15:51
$begingroup$
Wow, that is next level!
$endgroup$
– Greg
Nov 13 '18 at 15:58
|
show 1 more comment
$begingroup$
This solution:
- places an arrow in every field around the diagram;
- each arrow points at one or more numbers inside;
- satisfies the condition of having the numbers in the boxes equaling the numbers of arrows pointing at them!
That being said, the person who is giving you the interview may not like it.
:P
$endgroup$
This solution:
- places an arrow in every field around the diagram;
- each arrow points at one or more numbers inside;
- satisfies the condition of having the numbers in the boxes equaling the numbers of arrows pointing at them!
That being said, the person who is giving you the interview may not like it.
:P
edited Nov 13 '18 at 15:25
answered Nov 13 '18 at 15:18
Excited RaichuExcited Raichu
6,67021166
6,67021166
$begingroup$
These are a standard puzzle form: puzzlepicnic.com/puzzles... but something about this puzzle makes me believe it's unsolvable. I wonder if it's just one of those task-persistence measures given in job interviews to see how long you'll try before you give up. Or, if it is solvable, it doesn't have characteristics of other arrow puzzles, which generally have one square with only one logical set of arrows possible.
$endgroup$
– Parseltongue
Nov 13 '18 at 15:32
$begingroup$
I too thought about odd angles for arrows, but you sir are taking it to another level x)
$endgroup$
– Cashbee
Nov 13 '18 at 15:35
$begingroup$
Bottom left corner?
$endgroup$
– Greg
Nov 13 '18 at 15:49
$begingroup$
@Greg all of the outer squares it touches have an arrow pointing at it
$endgroup$
– Excited Raichu
Nov 13 '18 at 15:51
$begingroup$
Wow, that is next level!
$endgroup$
– Greg
Nov 13 '18 at 15:58
|
show 1 more comment
$begingroup$
These are a standard puzzle form: puzzlepicnic.com/puzzles... but something about this puzzle makes me believe it's unsolvable. I wonder if it's just one of those task-persistence measures given in job interviews to see how long you'll try before you give up. Or, if it is solvable, it doesn't have characteristics of other arrow puzzles, which generally have one square with only one logical set of arrows possible.
$endgroup$
– Parseltongue
Nov 13 '18 at 15:32
$begingroup$
I too thought about odd angles for arrows, but you sir are taking it to another level x)
$endgroup$
– Cashbee
Nov 13 '18 at 15:35
$begingroup$
Bottom left corner?
$endgroup$
– Greg
Nov 13 '18 at 15:49
$begingroup$
@Greg all of the outer squares it touches have an arrow pointing at it
$endgroup$
– Excited Raichu
Nov 13 '18 at 15:51
$begingroup$
Wow, that is next level!
$endgroup$
– Greg
Nov 13 '18 at 15:58
$begingroup$
These are a standard puzzle form: puzzlepicnic.com/puzzles... but something about this puzzle makes me believe it's unsolvable. I wonder if it's just one of those task-persistence measures given in job interviews to see how long you'll try before you give up. Or, if it is solvable, it doesn't have characteristics of other arrow puzzles, which generally have one square with only one logical set of arrows possible.
$endgroup$
– Parseltongue
Nov 13 '18 at 15:32
$begingroup$
These are a standard puzzle form: puzzlepicnic.com/puzzles... but something about this puzzle makes me believe it's unsolvable. I wonder if it's just one of those task-persistence measures given in job interviews to see how long you'll try before you give up. Or, if it is solvable, it doesn't have characteristics of other arrow puzzles, which generally have one square with only one logical set of arrows possible.
$endgroup$
– Parseltongue
Nov 13 '18 at 15:32
$begingroup$
I too thought about odd angles for arrows, but you sir are taking it to another level x)
$endgroup$
– Cashbee
Nov 13 '18 at 15:35
$begingroup$
I too thought about odd angles for arrows, but you sir are taking it to another level x)
$endgroup$
– Cashbee
Nov 13 '18 at 15:35
$begingroup$
Bottom left corner?
$endgroup$
– Greg
Nov 13 '18 at 15:49
$begingroup$
Bottom left corner?
$endgroup$
– Greg
Nov 13 '18 at 15:49
$begingroup$
@Greg all of the outer squares it touches have an arrow pointing at it
$endgroup$
– Excited Raichu
Nov 13 '18 at 15:51
$begingroup$
@Greg all of the outer squares it touches have an arrow pointing at it
$endgroup$
– Excited Raichu
Nov 13 '18 at 15:51
$begingroup$
Wow, that is next level!
$endgroup$
– Greg
Nov 13 '18 at 15:58
$begingroup$
Wow, that is next level!
$endgroup$
– Greg
Nov 13 '18 at 15:58
|
show 1 more comment
$begingroup$
This is a possibility:
I'm sure there are others.
$endgroup$
add a comment |
$begingroup$
This is a possibility:
I'm sure there are others.
$endgroup$
add a comment |
$begingroup$
This is a possibility:
I'm sure there are others.
$endgroup$
This is a possibility:
I'm sure there are others.
edited Dec 4 '18 at 16:59
GentlePurpleRain♦
17.1k569137
17.1k569137
answered Nov 14 '18 at 10:45
AnonAnon
111
111
add a comment |
add a comment |
Thanks for contributing an answer to Puzzling Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
Use MathJax to format equations. MathJax reference.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fpuzzling.stackexchange.com%2fquestions%2f75108%2fa-new-4-x-4-arrow-puzzle%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
$begingroup$
I believe there are 2^8 + (3^8) = 6817 combinations of puzzle solutions, so in principle this can be bruteforced.
$endgroup$
– Parseltongue
Nov 13 '18 at 16:18
2
$begingroup$
@Parseltongue I think your math is off; it should actually be 2^8 times 3^8 = 1679616, shouldn't it? Still trivial for a modern computer, but obviously it scales far too quickly to be a feasible approach at higher size squares. This makes me curious whether this is a NP problem; I can see a way of mapping it to a Boolean satisfiability problem, which would be NP (though that's certainly not the most efficient approach), and the sums can probably provide more information, perhaps revealing an algorithm in P. But it reminds me of Sudoku, which is in NP... I wonder.
$endgroup$
– Graham
Nov 13 '18 at 20:58
$begingroup$
You're right! My mistake. And those were my thoughts as well... I immediately started trying to code up an algorithm to solve this, but decided Brute Force was easiest.
$endgroup$
– Parseltongue
Nov 13 '18 at 21:04
$begingroup$
Here is an "assisted solver" I whipped up to play around with this puzzle. It's just a bare-bones set of
<button>
and<span>
elements in a grid. The values in the grid update live as you rotate the arrows. I see that the answer has already been posted, and a tool like this probably already exists, but perhaps someone will find this one useful.$endgroup$
– benj2240
Nov 13 '18 at 23:15
$begingroup$
@benj2240 - that is absolutely amazing! Learned a lot reading the code.
$endgroup$
– Parseltongue
Nov 14 '18 at 18:57