BlueSpark wrote:That is very interesting condor. If you have anything else you have discovered along this line, I would be interested in hearing about it.
Thanks!
Condor wrote:One thing I have discovered is that if you take any template and permute the columns in the stacks and rows in the bands then all the other templates can be produced. There are 6 ways of permuting the rows/columns in a band/stack and 6 bands and stacks on a sudoku grid.
Permutation
number Order
1 1,2,3
2 1,3,2
3 2,1,3
4 2,3,1
5 3,1,2
6 3,2,1
* . . . . . . . .
. . . * . . . . .
. . . . . . * . .
. * . . . . . . .
. . . . * . . . .
. . . . . . . * .
. . * . . . . . .
. . . . . * . . .
. . . . . . . . *
2 . . . * . . . . .
3 1 * . . . . . . . .
3 . . . . . . * . .
1 . * . . . . . . .
1 2 . . . . * . . . .
3 . . . . . . . * .
3 . . . . . . . . *
5 1 . . * . . . . . .
2 . . . . . * . . .
2 6 4
1 3 2 3 2 1 2 3 1
. . . . . * . . .
* . . . . . . . .
. . . . . . . . *
. . * . . . . . .
. . . . * . . . .
. . . . . . * . .
. . . . . . . * .
. * . . . . . . .
. . . * . . . . .
BlueSpark wrote:I am not a math guy, but I assume that the fact that there are 6 ways of permuting the "stacks" and 6 "stacks" is the reason why there are 6^6 templates. Is that right?
BlueSpark wrote:I too have found it very helpful to think of the sudoku as 9 interlocking templates (although I used the term "pattern" but will use "template" in the future as it is to my ear much better ).
BlueSpark wrote:I like that naming system. I am going to poke around with it and see what I can find out.
Condor wrote:BlueSpark wrote:I am not a math guy, but I assume that the fact that there are 6 ways of permuting the "stacks" and 6 "stacks" is the reason why there are 6^6 templates. Is that right?
This would appear to be the case.
BlueSpark wrote:I like that naming system.
. . . . * . . . .
* . . . . . . . .
. . . . . . * . .
Permutation
number Order
1 1,2,3
2 1,3,2
3 2,1,3
4 2,3,1
5 3,1,2
6 3,2,1
. . . . * . . . .
. . . . . . . * .
. . * . . . . . .
. . . . . . * . .
. * . . . . . . .
. . . * . . . . .
. . . . . * . . .
* . . . . . . . .
. . . . . . . . *
BlueSpark wrote:I too have found it very helpful to think of the sudoku as 9 interlocking templates
It seems that the template concept would be one model by which to approach the question of the minimum number of clues required for a valid sudoku puzzle.
To complete 3 1s to 9 1s
+---+---+---+
|1..|...|...|
|...|..2|7..|
|...|...|...|
+---+---+---+
|...|...|...|
|...|.1.|...|
|.8.|...|2..|
+---+---+---+
|.2.|...|...|
|.34|...|...|
|...|...|..1|
+---+---+---+ 10 clues .....all the 1s can be completed ........16 total.
To complete 3 2s to 9 2s
+---+---+---+
|1..|...|...|
|...|..2|...|
|8.7|...|..5|
+---+---+---+
|...|...|...|
|...|.1.|...|
|...|...|2..|
+---+---+---+
|.2.|...|...|
|...|...|...|
|...|.7.|..1|
+---+---+---+ 10 clues.....all the 2s can be completed ........16 total.
+---+---+---+
|1..|...|...|
|...|..2|7..|
|8.7|...|..5|
+---+---+---+
|...|...|...|
|...|.1.|...|
|.5.|...|2..|
+---+---+---+
|.2.|...|...|
|.35|...|...|
|...|.7.|..1|
+---+---+---+ 14 clues total
The non-1, non-2 clues can be varied - to give 26-30 clues - some give no solutions !!
an example with extra clues shown
+---+---+---+
|1.2|...|...|
|5.3|1.2|7..|
|8.7|...|125|
+---+---+---+
|.1.|.2.|...|
|27.|.1.|...|
|.5.|...|21.|
+---+---+---+
|.21|...|...|
|.35|..1|..2|
|.8.|27.|..1|
+---+---+---+ 30 clues
BlueSpark wrote:I have only recently learned of sudoku, and it looks like I will soon be addicted if I am not already. Like everyone else I have poked around to see if I could find quicker or novel ways to solve them. Many of the things I have found out are, alas, completely useless in that regard. Here are some of them:
(1) It is obvious that if you were to assign values to the positions of each row and column--1 to 9 from top to bottom and left to right, or whatever--then the sum of the position values of any given number in a completed sudoku adds up to 45, since 1+2+3+4+5+6+7+8+9=45 and each number appears in every row and column only once. This is also true, however, when you assign position values 1 to 9 within the 3x3 boxes of the sudoku--even though a given number might appear at the same position in 2 or 3 different boxes (3 is the limit I think). For instance, number X might appear in the 9th cell of the upper-left hand box and also appear in the 9th cell of the center box, but this high total (18 for only two boxes) will be elsewhere balanced off and 45 will be the total of the position values of X. Cool!
(2) If you assign values to the positions of the entire sudoku (1 to 81), then the total of the position values of any given number is 369, which is a fine, fine number. Cool!
(3) Take a sudoku puzzle. Select any 3x3 box (or column or row) that has some numbers in it. In a blank sudoku write the numbers 1 to 9 in order (they don't have to be in order but it makes it easier as they are meant to be position values) in the 3x3 box that corresponds to the one you have chosen in the puzzle. As you figure out numbers in the puzzle, in the corresponding cells of the blank sudoku write the number of the position that that number you have figured out occupies in the chosen 3x3 box of the puzzle. (For instance, suppose you have chosen the top left box. You then figure out that r7c6 is a 9. In the top left box there is a 9 at position 4. Write 4 at r7c6.) This process creates in the blank sudoku another valid sudoku. Upon reflection it is clear that this must be so--and it is so obvious as not to be helpful. I thought at first that the two "sister sudokus" might help each other to maturity in a sort of logical feedback and transfer snowball maelstrom, but they don't as, of course, each one contains the exact same information. Of course, sometimes you don't see something in one of the sudokus that strikes you immediately in the other, and this can be helpful, but it is too rare an occurrence (for me) to bother with it. It is certainly not any faster than the standard approaches.
(4) I am very unsure about this one, but my probably very unorthodox (and probably very misguided) statistical approach revealed that there are 46,000+ ways of validly placing a given number onto the sudoku grid. Is that right? Seems like a lot.
Anyone else got any of these sort of dead-end ideas?