Serg wrote:Hi,
Mathimagics!
Mathimagics wrote:The results are:
- Code: Select all
------------------------------------------------------
9x9 ED Grids Orthog ED / Orthog
------------------------------------------------------
Sudoku 5,472,730,538 287,109 19,061
SudokuX 1,596,582,158 13,972 114,270
SudokuW 68,239,994 1,432 47,654
SudokuP 53,666,689 107,033 501
Interesting results, congratulations! It's interesting - what is the cause of the
oddity of ordinary Sudoku orthogonal grids number? Trios or quintets of mutually orthogonal grids?
Red Ed years ago said:
Red Ed wrote:I only said that it was impossible to get more than six mutually orthogonal sudoku grids.
(See the thread
"Graeco-Latin Soduku" challenge.) And he posted an example of such "sextet". I think a limitation of 6 mutually orthogonal Sudoku grids came from Latin Squares area. But what is exact numbers of trios, quartets, quintets and sextets for Sudoku solution grids?
Serg
Serg wrote:Hi,
Mathimagics!
Limitation of not more than 6 mutually orthogonal Sudoku solution grids came not from Latin Square world. Sequence
https://oeis.org/A001438 says that not more than 8 mutually orthogonal 9x9 Latin Squares can exist. So,
Red Ed found his 6-grid limit in another way.
Here is a table of counts for various k's:
- k=1 is for single grids. The numbers should be familiar
- For k<6, the 2nd line lists the count of cases that have an extension to a larger k.
- Code: Select all
+-------+------------+-------------------+--------------------------------------------+----------+
| | canonical | normalized | all (lists) | |
+-------+------------+-------------------+--------------------------------------------+----------+
| k = 1 | 5472730538 | 18383222420692992 | 6670903752021072936960 | 6.67e+21 |
| | 287109 | 911684284416 | 330831993128878080 | 3.31e+17 |
+-------+------------+-------------------+--------------------------------------------+----------+
| k = 2 | 52878067 | 174895868025792 | 46061238448737357240729600 | 4.61e+25 |
| | 774 | 271229472 | 71432021380143513600 | 7.14e+19 |
+-------+------------+-------------------+--------------------------------------------+----------+
| k = 3 | 971 | 308176704 | 88356835865252308451328000 | 8.84e+25 |
| | 408 | 73730304 | 21139094176382507286528000 | 2.11e+25 |
+-------+------------+-------------------+--------------------------------------------+----------+
| k = 4 | 258 | 41350176 | 17208409635468103601765744640000 | 1.72e+31 |
| | 70 | 4248288 | 1767979902998321431912120320000 | 1.77e+30 |
+-------+------------+-------------------+--------------------------------------------+----------+
| k = 5 | 28 | 1420416 | 1072536216795658703185857478656000000 | 1.07e+36 |
| | 16 | 808704 | 610641057737674298164210827264000000 | 6.11e+35 |
+-------+------------+-------------------+--------------------------------------------+----------+
| k = 6 | 10 | 134784 | 221589427031847249317828824997560320000000 | 2.22e+41 |
+-------+------------+-------------------+--------------------------------------------+----------+
Here, a k-MOSS case is considered to be "normalized", if the grids have been relabeled to have 123456789 in the top row, and they are listed lexical order.
A "minlex-canonical" form can be defined as one where the k*81 long string produced by concatenating the individual grid strings, is minlex with respect to choosing any of the 2*(6^8) Sudoku VPTs, applying it to each of the grids, and normalizing the result.
To explain the k=6 limit, consider "normalized" k-MOSS cases.
Each grid has a '1' in r1c1, and each pair of grids has (1,1) in r1c1.
If any two the grids had a '1' in the same cell in r2, then that pair wouldn't be orthogonal.
Since (for Sudoku) only 6 cells in r2 can take a '1', 6 is an upper bound on 'k'.
The ten k=6 cases are listed below,
Each one lists an automorphism count, and for each grid, the (0-based) index of its minlex-canonical form, along with its (individual) automorphism count.
The top entry, is the canonical form for
Red Ed's example ... with 648 automorphisms.
There is a case with 6*648 automorphisms, which is a theoretical maximum.
- Code: Select all
k=6,na=648 (Red Ed's case, "minlexed")
123456789456789123789123456231564897564897231897231564312645978645978312978312645 (964549,648)
123456789564897231978312645456789123897231564312645978789123456231564897645978312 (964549,648)
123456789645978312897231564789123456312645978564897231456789123978312645231564897 (964549,648)
123456789789123456456789123312645978978312645645978312231564897897231564564897231 (964549,648)
123456789897231564645978312978312645456789123231564897564897231312645978789123456 (964549,648)
123456789978312645564897231645978312231564897789123456897231564456789123312645978 (964549,648)
k=6,na=1296
123456789456789123789123456231564897564897231897231564312645978645978312978312645 (964549,648)
123456789564897231978312645456789123897231564312645978789123456231564897645978312 (964549,648)
123456789645978312897231564978312645231564897456789123564897231789123456312645978 (964549,648)
123456789789123456456789123312645978978312645645978312231564897897231564564897231 (964549,648)
123456789897231564645978312564897231312645978789123456978312645456789123231564897 (964549,648)
123456789978312645564897231789123456645978312231564897456789123312645978897231564 (964549,648)
k=6,na=3888
123456789456789123789123456231564897564897231897231564312645978645978312978312645 (964549,648)
123456789564897231978312645645978312789123456231564897897231564312645978456789123 (964549,648)
123456789645978312897231564978312645231564897456789123564897231789123456312645978 (964549,648)
123456789789123456456789123312645978978312645645978312231564897897231564564897231 (964549,648)
123456789897231564645978312564897231312645978789123456978312645456789123231564897 (964549,648)
123456789978312645564897231897231564456789123312645978645978312231564897789123456 (964549,648)
k=6,na=1944
123456789456789123789123456231564897564897231897231564312645978645978312978312645 (964549,648)
123456789564897231978312645789123456231564897645978312456789123897231564312645978 (964549,648)
123456789645978312897231564456789123978312645231564897789123456312645978564897231 (964549,648)
123456789789123456456789123645978312312645978978312645897231564564897231231564897 (964549,648)
123456789897231564645978312312645978789123456564897231231564897978312645456789123 (964549,648)
123456789978312645564897231897231564456789123312645978645978312231564897789123456 (964549,648)
k=6,na=216
123456789456789123789123456231564897564897231978312645312645978645978312897231564 (964588,36)
123456789564897231978312645645978312897231564231564897789123456312645978456789123 (964588,36)
123456789645978312897231564789123456231564897456789123564897231978312645312645978 (964588,36)
123456789789123456456789123312645978978312645564897231231564897897231564645978312 (964588,36)
123456789897231564645978312456789123312645978789123456978312645564897231231564897 (964588,36)
123456789978312645564897231897231564645978312312645978456789123231564897789123456 (964588,36)
k=6,na=432
123456789456789123789123456231564978564897312897231645312978564645312897978645231 (965095,72)
123456789564897231978312645645978123789123564231564978897645312312789456456231897 (965095,72)
123456789645978312897231564978312456231564978456789231564123897789645123312897645 (965095,72)
123456789789231645645897123564789231312645897978123456456312978231978564897564312 (965095,72)
123456789897312456564789312789231564456978123312645897231897645978564231645123978 (965095,72)
123456789978123564456978231312645897897312645645897312789564123564231978231789456 (965095,72)
k=6,na=108
123456789456789123789123456231564978564978231978231564312897645645312897897645312 (965181,36)
123456789564897231978312645789231456312564897645978123456123978897645312231789564 (965181,36)
123456789645978312897231564564789123978312456231645897789564231312897645456123978 (965181,36)
123456789789231645456978231897123564645897312312564978231645897564789123978312456 (966421,36)
123456789897312456645897123312645897789123645456789312978231564231564978564978231 (966421,36)
123456789978123564564789312456897231231645978897312645645978123789231456312564897 (966421,36)
k=6,na=108
123456789457189236968372514291738465374265198685941327546813972732694851819527643 (4869572228,36)
123456789584397612697281453842165937956743821731829546218674395379518264465932178 (4869572228,36)
123456789678913425549728631316594278897132546254687193931245867465879312782361954 (5472677694,108)
123456789769821354854937126435679812612584973978213465397162548281345697546798231 (5472677694,108)
123456789896732541475819362789321654541698237362574918654987123918263475237145896 (5472677694,108)
123456789945278163786193245567842391238917654419365872872539416654721938391684527 (4869572228,36)
k=6,na=216
123456789457189236968372514291738465374265198685941327546813972732694851819527643 (4869572228,36)
123456789584397612697281453842165937956743821731829546218674395379518264465932178 (4869572228,36)
123456789678931524459827631935614872712398465864572913391765248546283197287149356 (4869572228,36)
123456789769812345845739126476593218581624937392187654937248561218965473654371892 (4869572228,36)
123456789896723451574918362318279546649581273257634198465192837981347625732865914 (4869572228,36)
123456789945278163786193245567842391238917654419365872872539416654721938391684527 (4869572228,36)
k=6,na=144
123456789457189326869372514214965873635847192978213465381624957546798231792531648 (5449015462,36)
123456789574918263986723451738241695219365874465879312642597138897132546351684927 (5449015462,36)
123456789698237145745891632579318264864972513231645897956783421312564978487129356 (5472730537,72)
123456789745891632698237145956783421487129356312564978579318264231645897864972513 (5472730537,72)
123456789869372514457189326381624957792531648546798231214965873978213465635847192 (5449015462,36)
123456789986723451574918263642597138351684927897132546738241695465879312219365874 (5449015462,36)
---
Added:
I should have mentioned that the "all" column in the table of counts above, is the number of k-MOSS "lists", rather than k-MOSS "sets".
I added a "(lists)" to the table above. For "sets" the last colum(s) would be:
- Code: Select all
+-------+-----------------------------------------+----------+
| | all (sets) | |
+-------+-----------------------------------------+----------+
| k = 1 | 6670903752021072936960 | 6.67e+21 |
| | 330831993128878080 | 3.31e+17 |
+-------+-----------------------------------------+----------+
| k = 2 | 23030619224368678620364800 | 2.30e+25 |
| | 35716010690071756800 | 3.57e+19 |
+-------+-----------------------------------------+----------+
| k = 3 | 14726139310875384741888000 | 1.47e+25 |
| | 3523182362730417881088000 | 3.52e+24 |
+-------+-----------------------------------------+----------+
| k = 4 | 717017068144504316740239360000 | 7.17e+29 |
| | 73665829291596726329671680000 | 7.37e+28 |
+-------+-----------------------------------------+----------+
| k = 5 | 8937801806630489193215478988800000 | 8.94e+33 |
| | 5088675481147285818035090227200000 | 5.09e+33 |
+-------+-----------------------------------------+----------+
| k = 6 | 307763093099787846274762256941056000000 | 3.00e+38 |
+-------+-----------------------------------------+----------+