Talk:4-rings or 4-squares puzzle: Difference between revisions
Content added Content deleted
m (solutions, not non-unique solutions) |
|||
Line 40: | Line 40: | ||
I think the unique solutions are part of the 2860 solutions.So I think calling them solutions is the right term |
I think the unique solutions are part of the 2860 solutions.So I think calling them solutions is the right term |
||
--[[User:Horsth|Horsth]] |
--[[User:Horsth|Horsth]] |
||
<pre> |
|||
There is a better algorithm for the solutions when they are unique: |
|||
Take 1 from 7 as d and leave set of 6 remaining |
|||
Take 1 from 6 as 'a' fixing c if part of the remaining set |
|||
Take 1 from 4 as g fixing e if part of the remaining set |
|||
which leaves 2 values for b. |
|||
So maximum of 336 combinations (7*6*4*2) to test, rather than 5040 permutations of all 7. |
|||
--~~~~ |