In how many ways can we fill a board with integers from such that the following conditions hold?
Also:
Explicit example:
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
We make the following observations:
And formulate an idea for symmetry breaking:
We call a non-square primitive if both of the following holds:
Now, we are ready to use the python-constraint library (or any other language, for that matter) to implement a constraint model.
That should tell us there are just 3 9 primitive boards and hence a total of 2 8 0 8 0 boards