- Code: Select all
+-------+-------+-------+
| . . x | x x x | x . . |
| . x x | . . . | x x . |
| x x . | . . . | . x x |
+-------+-------+-------+
| x . . | . . . | . . . |
| x . . | . . . | . . . |
| x . . | . . . | . . . |
+-------+-------+-------+
| . x . | . . . | . . . |
| . x x | . . . | . . . |
| . . . | . . . | . . . |
+-------+-------+-------+
The hole is that I added a few clues (2-4) at a time and then I removed duplicates, but a sudoku morphism that identify 2 isomorphic subpuzzles of that pattern may not be a pattern morphism of the full pattern, and so we would not count some valid puzzles afterwards. In other words, if 2 subpuzzles are isomorphic but the morphism is not a pattern morphism of the full pattern, and we remove the second of them, then we will not be counting some puzzles (offsping of the second one) that could be valid (on the premise that they are isomorphic to a offsping puzzle of the first one, and that could be false).