is it soo important to know how many essentially different
solutions there are ?
Doesn't Condor already think there are many ?
If you insist, I could examine these 2000+ sets ....
but I hope, it's not necessary/important
udosuk wrote:I thought Condor thinks that the grid, if you leave out the 8th and 9th number, is essentially unique. But you suggested it's not. I just want to know which is true. If that's unique then I'll save it as one of the most treasured discovery of sudoku maths. If it's not unique then please just pick any one random grid in your 2000+ sets and show us (I hope it's not too much of a trouble). I don't really need to know how many essentially different solutions there are, as long as it's not ONE (or TWO, maybe THREE...)! ^_^
1 2 3 4 5 6 7 8 9
4 8 7 2 9 3 5 6 1
6 5 9 1 8 7 4 3 2
9 3 8 5 6 1 2 7 4
7 4 1 3 2 9 8 5 6
5 6 2 8 7 4 1 9 3
2 9 5 6 1 8 3 4 7
8 7 4 9 3 2 6 1 5
3 1 6 7 4 5 9 2 8
1 2 3 4 5 6 7 8 9
4 8 7 2 9 3 5 6 1
6 5 9 8 1 7 4 3 2
9 3 1 5 6 8 2 7 4
7 4 8 3 2 9 1 5 6
5 6 2 1 7 4 8 9 3
2 9 5 6 8 1 3 4 7
8 7 4 9 3 2 6 1 5
3 1 6 7 4 5 9 2 8
udosuk wrote:Okay, confirmed that the 24 sets can be grouped into 4 essentially identical classes (2 classes of 8, 2 classes of 4). Of these 4, only 1 can be filled into a valid sudoku in 2 different ways (4 if you include the exchange of the last 2 digits). Thus the suitably named "Sudoku Queen" are actually twin sisters... maybe "Sudoku Queen Twins"?
I have an idea about "norming" every sudoku grid. First, substitute digits so that the top line reads "123456789" (there are 8 ways of doing this by rotation and reflection). Of each of the 8 ways, read the 2nd line, and pick the grid with the smallest 9-digit number. If we have a tie, then compare the 3rd line... etc. That way every essentially identical sudoku grid can be transformed to the same representation. For example, the "Sudoku Queen Twins" can be normed to:
- Code: Select all
1 2 3 4 5 6 7 8 9
4 8 7 2 9 3 5 6 1
6 5 9 1 8 7 4 3 2
9 3 8 5 6 1 2 7 4
7 4 1 3 2 9 8 5 6
5 6 2 8 7 4 1 9 3
2 9 5 6 1 8 3 4 7
8 7 4 9 3 2 6 1 5
3 1 6 7 4 5 9 2 8
1 2 3 4 5 6 7 8 9
4 8 7 2 9 3 5 6 1
6 5 9 8 1 7 4 3 2
9 3 1 5 6 8 2 7 4
7 4 8 3 2 9 1 5 6
5 6 2 1 7 4 8 9 3
2 9 5 6 8 1 3 4 7
8 7 4 9 3 2 6 1 5
3 1 6 7 4 5 9 2 8
Probably some others programming gurus here have used this method before me. It does save us a lot of confusion...
this method doesn't work for normal sudokus, where we have much more "symmetries" than 8
. . . . . * . . .
. . . . * . . . .
. . . * . . . . .
. . * . . . . . .
. * . . . . . . .
* . . . . . . . .
. . . . . . . . *
. . . . . . . * .
. . . . . . * . .