Counting Magic Cayley-Sudoku Tables

Similar documents
MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS. + + x 2. x n. a 11 a 12 a 1n b 1 a 21 a 22 a 2n b 2 a 31 a 32 a 3n b 3. a m1 a m2 a mn b m

GROUPS ACTING ON A SET

MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS

Math 319 Problem Set #3 Solution 21 February 2002

Multiplication. Year 1 multiply with concrete objects, arrays and pictorial representations

Mathematics of Sudoku I

I. GROUPS: BASIC DEFINITIONS AND EXAMPLES

Outline 2.1 Graph Isomorphism 2.2 Automorphisms and Symmetry 2.3 Subgraphs, part 1

Math 115A HW4 Solutions University of California, Los Angeles. 5 2i 6 + 4i. (5 2i)7i (6 + 4i)( 3 + i) = 35i + 14 ( 22 6i) = i.

α = u v. In other words, Orthogonal Projection

COMMUTATIVITY DEGREES OF WREATH PRODUCTS OF FINITE ABELIAN GROUPS

= = 3 4, Now assume that P (k) is true for some fixed k 2. This means that

Computing exponents modulo a number: Repeated squaring

Group Theory. Contents

Applications of Fermat s Little Theorem and Congruences

COMMUTATIVITY DEGREES OF WREATH PRODUCTS OF FINITE ABELIAN GROUPS

Factoring Algorithms

Sudoku puzzles and how to solve them

Basic numerical skills: EQUATIONS AND HOW TO SOLVE THEM. x + 5 = = (2-2) = = 5. x = 7-5. x + 0 = 20.

Chapter 6. Orthogonality

Labeling outerplanar graphs with maximum degree three

Orthogonal Diagonalization of Symmetric Matrices

Abstract Algebra Cheat Sheet

COMBINATORIAL PROPERTIES OF THE HIGMAN-SIMS GRAPH. 1. Introduction

GROUP ACTIONS KEITH CONRAD

ON GALOIS REALIZATIONS OF THE 2-COVERABLE SYMMETRIC AND ALTERNATING GROUPS

THE AVERAGE DEGREE OF AN IRREDUCIBLE CHARACTER OF A FINITE GROUP

DEFINABLE TYPES IN PRESBURGER ARITHMETIC

Solving Systems of Linear Equations

Regular Languages and Finite Automata

Composing with Numbers: Arnold Schoenberg and His Twelve-Tone Method

Methods for Finding Bases

Solving Linear Systems, Continued and The Inverse of a Matrix

Enumerating possible Sudoku grids

10 th POLISH SUDOKU CHAMPIONSHIP INSTRUCTION BOOKLET. February 22, 2015 IMPORTANT INFORMATION:

The Prime Numbers. Definition. A prime number is a positive integer with exactly two positive divisors.

2 When is a 2-Digit Number the Sum of the Squares of its Digits?

Orthogonal Projections

A note on companion matrices

Introduction to Finite Fields (cont.)

MATH10212 Linear Algebra. Systems of Linear Equations. Definition. An n-dimensional vector is a row or a column of n numbers (or letters): a 1.

v w is orthogonal to both v and w. the three vectors v, w and v w form a right-handed set of vectors.

Overview of Violations of the Basic Assumptions in the Classical Normal Linear Regression Model

Midterm Practice Problems

Integer Factorization using the Quadratic Sieve

MATH10040 Chapter 2: Prime and relatively prime numbers

CISC - Curriculum & Instruction Steering Committee. California County Superintendents Educational Services Association

THE FUNDAMENTAL THEOREM OF ALGEBRA VIA PROPER MAPS

THE NUMBER OF REPRESENTATIONS OF n OF THE FORM n = x 2 2 y, x > 0, y 0

Codes for Network Switches

Solving Systems of Linear Equations Using Matrices

Factorizations: Searching for Factor Strings

Inner Product Spaces

S on n elements. A good way to think about permutations is the following. Consider the A = 1,2,3, 4 whose elements we permute with the P =

CS 3719 (Theory of Computation and Algorithms) Lecture 4

Tiers, Preference Similarity, and the Limits on Stable Partners

GENERATING SETS KEITH CONRAD

ON GENERALIZED RELATIVE COMMUTATIVITY DEGREE OF A FINITE GROUP. A. K. Das and R. K. Nath

Unit 18 Determinants

Computing the Symmetry Groups of the Platonic Solids With the Help of Maple

Chapter 3. if 2 a i then location: = i. Page 40

8 Primes and Modular Arithmetic

Continued Fractions and the Euclidean Algorithm

Linear Codes. Chapter Basics

11 Ideals Revisiting Z

1 A duality between descents and connectivity.

ISOMETRIES OF R n KEITH CONRAD

Applied Linear Algebra I Review page 1


Math Content by Strand 1

Factorization Theorems

Chapter 3.1 Angles. Geometry. Objectives: Define what an angle is. Define the parts of an angle.

Chapter 3. Cartesian Products and Relations. 3.1 Cartesian Products

SHARP BOUNDS FOR THE SUM OF THE SQUARES OF THE DEGREES OF A GRAPH

Settling a Question about Pythagorean Triples

Maths class 11 Chapter 7. Permutations and Combinations

Arkansas Tech University MATH 4033: Elementary Modern Algebra Dr. Marcel B. Finan

Kenken For Teachers. Tom Davis June 27, Abstract

The Crescent Primary School Calculation Policy


Chapter 7: Products and quotients

ModuMath Basic Math Basic Math Naming Whole Numbers Basic Math The Number Line Basic Math Addition of Whole Numbers, Part I

GRAPH THEORY LECTURE 4: TREES

G = G 0 > G 1 > > G k = {e}

The Butterfly, Cube-Connected-Cycles and Benes Networks

Cameron Liebler line classes

3 Some Integer Functions

WHEN DOES A CROSS PRODUCT ON R n EXIST?

Battleship. Big bands

5.3 The Cross Product in R 3

Third Grade Math Games

Universal hashing. In other words, the probability of a collision for two different keys x and y given a hash function randomly chosen from H is 1/m.

Similarity and Diagonalization. Similar Matrices

Revised Version of Chapter 23. We learned long ago how to solve linear congruences. ax c (mod m)

Chapter 7. Permutation Groups

Guide to Leaving Certificate Mathematics Ordinary Level

Chapter 3. Distribution Problems. 3.1 The idea of a distribution The twenty-fold way

minimal polyonomial Example

Lecture 1: Schur s Unitary Triangularization Theorem

6. Cholesky factorization

Transcription:

Counting Magic Cayley-Sudoku Tables Michael Ward Western Oregon University Zassenhaus Group Theory Conference May 2015 In memory of Wolfgang Kappe 1 / 48

Outline Counting Magic Sudoku Tables for Z 9 [Lorch & Weld 2011] 2 / 48

Outline Counting Magic Sudoku Tables for Z 9 [Lorch & Weld 2011] Counting Magic Cayley-Sudoku Tables for Z 9 3 / 48

Outline Counting Magic Sudoku Tables for Z 9 [Lorch & Weld 2011] Counting Magic Cayley-Sudoku Tables for Z 9 Counting Magic Cayley-Sudoku Tables for Z 3 Z 3 4 / 48

Outline Counting Magic Sudoku Tables for Z 9 [Lorch & Weld 2011] Counting Magic Cayley-Sudoku Tables for Z 9 Counting Magic Cayley-Sudoku Tables for Z 3 Z 3 Mutually Orthogonal Sets of Magic Sudoku Tables for Z 9 [Lorch & Weld 2011] 5 / 48

Outline Counting Magic Sudoku Tables for Z 9 [Lorch & Weld 2011] Counting Magic Cayley-Sudoku Tables for Z 9 Counting Magic Cayley-Sudoku Tables for Z 3 Z 3 Mutually Orthogonal Sets of Magic Sudoku Tables for Z 9 [Lorch & Weld 2011] Mutually Orthogonal Sets of Magic Cayley-Sudoku Tables for Z 3 Z 3 6 / 48

Definitions A Sudoku Table for Z 9 = {0,1,2,3,4,5,6,7,8} is a 9 9 array partitioned into 3 3 blocks in which the elements of Z 9 appear exactly once in each row and column (Latin square) and in each block (sudoku puzzle). Such a table is Magic if the row, column, and diagonal sums in each 3 3 block are zero mod 9. 7 / 48

Magic Sudoku Table for Z 9 Example 1 8 0 7 5 6 4 2 3 2 3 4 8 0 1 5 6 7 6 7 5 3 4 2 0 1 8 8 4 6 5 1 3 2 7 0 7 0 2 4 6 8 1 3 5 3 5 1 0 2 7 6 8 4 5 1 3 2 7 0 8 4 6 4 6 8 1 3 5 7 0 2 0 2 7 6 8 4 3 5 1 8 / 48

Sales Pitch & Question 9 9 Latin Square Count The exact number of Latin squares of order 9 (approximately 5.52 10 27 ) wasn t known until 1975, and the exact number for orders twelve and larger is currently unknown. [Lorch & Weld] 9 / 48

Sales Pitch & Question 9 9 Latin Square Count The exact number of Latin squares of order 9 (approximately 5.52 10 27 ) wasn t known until 1975, and the exact number for orders twelve and larger is currently unknown. [Lorch & Weld] Sudoku Table Count The exact number of Sudoku Tables for Z 9 is approximately 6.67 10 21, evidently known only via computer. 10 / 48

Sales Pitch & Question 9 9 Latin Square Count The exact number of Latin squares of order 9 (approximately 5.52 10 27 ) wasn t known until 1975, and the exact number for orders twelve and larger is currently unknown. [Lorch & Weld] Sudoku Table Count The exact number of Sudoku Tables for Z 9 is approximately 6.67 10 21, evidently known only via computer. Question How many Magic Sudoku Tables are there for Z 9? 11 / 48

Lorch & Weld Counting Let M be the set of Magic Sudoku Tables for Z 9. 12 / 48

Lorch & Weld Counting Let M be the set of Magic Sudoku Tables for Z 9. Find a group acting on M with few orbits. Add up the orbit lengths. 13 / 48

Lorch & Weld Counting Let M be the set of Magic Sudoku Tables for Z 9. Find a group acting on M with few orbits. Add up the orbit lengths. L & W construct a group of order 2 11 3 4 with 2 orbits. 14 / 48

Lorch & Weld Counting Let M be the set of Magic Sudoku Tables for Z 9. Find a group acting on M with few orbits. Add up the orbit lengths. L & W construct a group of order 2 11 3 4 with 2 orbits. Stabilizers have orders 2 2 3 2 and 2 3. 15 / 48

Lorch & Weld Counting Let M be the set of Magic Sudoku Tables for Z 9. Find a group acting on M with few orbits. Add up the orbit lengths. L & W construct a group of order 2 11 3 4 with 2 orbits. Stabilizers have orders 2 2 3 2 and 2 3. M = 211 3 4 2 2 3 2 + 211 3 4 2 3 = 32,256. 16 / 48

Definitions A Cayley-Sudoku Table for Z 9 [C-S Table] is a Cayley table which is also a (bordered) Sudoku table. 0 3 6 1 4 7 2 5 8 0 0 3 6 1 4 7 2 5 8 1 1 4 7 2 5 8 3 6 0 2 2 5 8 3 6 0 4 7 1 3 3 6 0 4 7 1 5 8 2 4 4 7 1 5 8 2 6 0 3 5 5 8 2 6 0 3 7 1 4 6 6 0 3 7 1 4 8 2 5 7 7 1 4 8 2 5 0 3 6 8 8 2 5 0 3 6 1 4 7 Such a table is Magic if the row, column, and diagonal sums in each 3 3 block is zero mod 9. 17 / 48

Counting How many Magic Cayley-Sudoku Tables [MC-S Tables] for Z 9? 18 / 48

Counting How many Magic Cayley-Sudoku Tables [MC-S Tables] for Z 9? Lemma None! 19 / 48

Counting How many Magic Cayley-Sudoku Tables [MC-S Tables] for Z 9? Lemma None! Switch groups to Z 3 Z 3 := Z 2 3. 20 / 48

Constructing Magic Cayley-Sudoku Tables for Z 3 Z 3 Choose any two complementary subgroups of order 3, U =< u > and V =< v >, U V = Z 3 Z 3 (multiplicative notation). Large columns" indexed by cosets of U. Columns within each large column labeled with elements of its coset. Large rows and rows similarly labeled using cosets of V. U vu v 2 U 1 u u 2 v vu vu 2 v 2 v 2 u v 2 u 2 1 1 u u 2 v vu vu 2 v 2 v 2 u v 2 u 2 V v v vu vu 2 v 2 v 2 u v 2 u 2 1 u u 2 v 2 v 2 v 2 u v 2 u 2 1 u u 2 v vu vu 2 u u u 2 1 vu vu 2 v v 2 u v 2 u 2 v 2 V u vu vu vu 2 v v 2 u v 2 u 2 v 2 u u 2 1 v 2 u v 2 u v 2 u 2 v 2 u u 2 1 vu vu 2 v u 2 u 2 1 u vu 2 v vu v 2 u 2 v 2 v 2 u V u 2 vu 2 vu 2 v vu v 2 u 2 v 2 v 2 u u 2 1 u v 2 u 2 v 2 u 2 v 2 v 2 u u 2 1 u vu 2 v vu 21 / 48

Characterization Any permutation of the large columns [rows] yields another MC-S Table. Within any large column [row], any permutation of the columns [rows] yields another MC-S Table. 22 / 48

Characterization Any permutation of the large columns [rows] yields another MC-S Table. Within any large column [row], any permutation of the columns [rows] yields another MC-S Table. Theorem Every MC-S Table for Z 2 3 is obtained in this way for some choice of U and V. 23 / 48

Characterization Any permutation of the large columns [rows] yields another MC-S Table. Within any large column [row], any permutation of the columns [rows] yields another MC-S Table. Theorem Every MC-S Table for Z 2 3 is obtained in this way for some choice of U and V. Any of the MC-S Tables so constructed from a given U and V we call a (U,V )-table. 24 / 48

Plain Counting 4 Choices for U =< u > 3 Choices for V =< v > 3! Arrangements of large columns (indexed by U, vu, v 2 U ) (3!) 3 Arrangements of columns within large columns 3! Arrangements of large rows (indexed by V, V u, V u 2 ) (3!) 3 Arrangements of rows within large rows 12 (3!) 8 Magic Cayley-Sudoku Tables for Z 2 3 12 (3!) 8 = 20,155,392 25 / 48

Fancy Counting à la Lorch & Weld M := the set of MC-S Tables for for Z 2 3 26 / 48

Fancy Counting à la Lorch & Weld M := the set of MC-S Tables for for Z 2 3 C := group of permutations of large columns and columns within large columns 27 / 48

Fancy Counting à la Lorch & Weld M := the set of MC-S Tables for for Z 2 3 C := group of permutations of large columns and columns within large columns C = S 3 S 3 28 / 48

Fancy Counting à la Lorch & Weld M := the set of MC-S Tables for for Z 2 3 C := group of permutations of large columns and columns within large columns C = S 3 S 3 R := group of permutations of large rows and rows within large rows 29 / 48

Fancy Counting à la Lorch & Weld M := the set of MC-S Tables for for Z 2 3 C := group of permutations of large columns and columns within large columns C = S 3 S 3 R := group of permutations of large rows and rows within large rows R = S 3 S 3 30 / 48

Fancy Counting à la Lorch & Weld M := the set of MC-S Tables for for Z 2 3 C := group of permutations of large columns and columns within large columns C = S 3 S 3 R := group of permutations of large rows and rows within large rows R = S 3 S 3 L := the group of relabelings, i.e. bijections from Z 2 3 to itself that preserve MC-S Tables 31 / 48

Fancy Counting à la Lorch & Weld M := the set of MC-S Tables for for Z 2 3 C := group of permutations of large columns and columns within large columns C = S 3 S 3 R := group of permutations of large rows and rows within large rows R = S 3 S 3 L := the group of relabelings, i.e. bijections from Z 2 3 to itself that preserve MC-S Tables L = Aut(Z 2 3 ) = GL(2,3) 32 / 48

Fancy Counting à la Lorch & Weld M := the set of MC-S Tables for for Z 2 3 C := group of permutations of large columns and columns within large columns C = S 3 S 3 R := group of permutations of large rows and rows within large rows R = S 3 S 3 L := the group of relabelings, i.e. bijections from Z 2 3 to itself that preserve MC-S Tables L = Aut(Z 2 3 ) = GL(2,3) Set G = L C R = GL(2,3) (S 3 S 3 ) (S 3 S 3 ) 33 / 48

Fancy Counting à la Lorch & Weld M := the set of MC-S Tables for for Z 2 3 C := group of permutations of large columns and columns within large columns C = S 3 S 3 R := group of permutations of large rows and rows within large rows R = S 3 S 3 L := the group of relabelings, i.e. bijections from Z 2 3 to itself that preserve MC-S Tables L = Aut(Z 2 3 ) = GL(2,3) Set G = L C R = GL(2,3) (S 3 S 3 ) (S 3 S 3 ) G = 48 (3!) 8 34 / 48

Fancy Counting Continued Lemma G acts transitively on M and G M = 4 for any M M. 35 / 48

Fancy Counting Continued Lemma G acts transitively on M and G M = 4 for any M M. Proof. Let M i M, M i a (U i,v i )-table for i = 12. For some σ GL(2,3), U σ 1 = U 2 and V σ 1 = V 2 M σ 1 is a (U 2,V 2 )-table. Permute rows and columns with an element of C R to match M 2. 36 / 48

Fancy Counting Continued Lemma G acts transitively on M and G M = 4 for any M M. Proof. Let M i M, M i a (U i,v i )-table for i = 12. For some σ GL(2,3), U σ 1 = U 2 and V σ 1 = V 2 M σ 1 is a (U 2,V 2 )-table. Permute rows and columns with an element of C R to match M 2. Fix M M, M i a (U,V )-table, U =< u >, V =< v >. σ GL(2,3), ρ C R, σρ G M U σ = U, v σ = V u σ = u ±1, v σ = v ±1 For each such σ there is a unique ρ such that σρ fixes M. 37 / 48

Fancy Counting Continued Lemma G acts transitively on M and G M = 4 for any M M. Proof. Let M i M, M i a (U i,v i )-table for i = 12. For some σ GL(2,3), U σ 1 = U 2 and V σ 1 = V 2 M σ 1 is a (U 2,V 2 )-table. Permute rows and columns with an element of C R to match M 2. Fix M M, M i a (U,V )-table, U =< u >, V =< v >. σ GL(2,3), ρ C R, σρ G M U σ = U, v σ = V u σ = u ±1, v σ = v ±1 For each such σ there is a unique ρ such that σρ fixes M. Corollary M = G 48 (3!)8 = = 12 (3!) 8 = 20,155,393. G M 4 38 / 48

Orthogonality Definition Two Latin squares are orthogonal provided each ordered pair of symbols occurs exactly once when the squares are superimposed. A family of Latin squares is mutually orthogonal provided each pair of distinct elements are orthogonal. 39 / 48

Orthogonality Definition Two Latin squares are orthogonal provided each ordered pair of symbols occurs exactly once when the squares are superimposed. A family of Latin squares is mutually orthogonal provided each pair of distinct elements are orthogonal. Example These Cayley tables of Z 3 are orthogonal. 0 1 2 0 0 1 2 1 1 2 0 2 2 0 1 0 1 2 0 0 1 2 2 2 0 1 1 1 2 0 00 11 22 12 20 01 21 02 10 40 / 48

Sales Pitch & Questions The next Fermat problem? Regarding families of mutually orthogonal latin squares, it has long been known that there are at most n 1 mutually orthogonal Latin squares of order n [i.e. n n], and that this bound is achieved when n is a prime power. However, for non-prime power orders larger than six, the largest size of a family of mutually orthogonal latin squares is unknown. This problem has been proposed by Mullen as a candidate for the next Fermat problem. " [Lorch & Weld] 41 / 48

Sales Pitch & Questions The next Fermat problem? Regarding families of mutually orthogonal latin squares, it has long been known that there are at most n 1 mutually orthogonal Latin squares of order n [i.e. n n], and that this bound is achieved when n is a prime power. However, for non-prime power orders larger than six, the largest size of a family of mutually orthogonal latin squares is unknown. This problem has been proposed by Mullen as a candidate for the next Fermat problem. " [Lorch & Weld] So the largest size of a mutually orthogonal family of 9 9 Latin squares is 8. 42 / 48

Sales Pitch & Questions The next Fermat problem? Regarding families of mutually orthogonal latin squares, it has long been known that there are at most n 1 mutually orthogonal Latin squares of order n [i.e. n n], and that this bound is achieved when n is a prime power. However, for non-prime power orders larger than six, the largest size of a family of mutually orthogonal latin squares is unknown. This problem has been proposed by Mullen as a candidate for the next Fermat problem. " [Lorch & Weld] So the largest size of a mutually orthogonal family of 9 9 Latin squares is 8. Questions What is the largest size of a mutually orthogonal family of Sudoku Tables & Magic Sudoku Tables for Z 9? Magic Cayley-Sudoku Tables for Z 2 3? 43 / 48

Mutually Orthogonal Sets of Sudoku Tables for Z 9 Theorem (Pedersen & Vis, 2009) There exists a family of 6 mutually orthogonal Sudoku Tables for Z 9 and this is the largest possible such family. O Orthogonal Sudoku Puzzle (MAA FOCUS) 44 / 48

Mutually Orthogonal Sets of Magic Sudoku Tables for Z 9 Theorem (Lorch & Weld) There exists a family of 2 mutually orthogonal Magic Sudoku Tables for Z 9 and this is the largest possible such family. 45 / 48

Mutually Orthogonal Sets of Magic-Cayley Sudoku Tables for Z 2 3 Theorem There exists a family of 6 mutually orthogonal Magic Cayley-Sudoku Tables for Z 9 and this is the largest possible such family, assuming any such family can be normalized to have the same column labels. 46 / 48

Mutually Orthogonal Sets of Magic-Cayley Sudoku Tables for Z 2 3 Theorem There exists a family of 6 mutually orthogonal Magic Cayley-Sudoku Tables for Z 9 and this is the largest possible such family, assuming any such family can be normalized to have the same column labels. Idea of the Proof (adapted from Pedersen & Vis) Think of Z 2 3 as the additive group of GF(9). Take U = GF(3). For each x GF(9)\U, Ux is a complement to U. A family of (U,Ux)-tables, one for each x GF(9)\U, suitably arranged, is mutually orthogonal. 47 / 48

References 1. J. Lorch and E. Weld, Modular Magic Sudoku, http://www.cs.bsu.edu/homepages/jdlorch/mmsarticle.pdf 2. G. L. Mullen, A candidate for the next Fermat problem," Math. Intelligencer 17 18-22. 3. R. M. Pedersen and T. L. Vis, Sets of Mutually Orthogonal Sudoku Latin Squares, College Math. J. 40 (2009) 174-180. 48 / 48