Counting Sudoku Variants

Similar documents
arxiv: v2 [math.ho] 23 Aug 2018

On Modular Extensions to Nim

Automatically Generating Puzzle Problems with Varying Complexity

Equivalence classes of length-changing replacements of size-3 patterns

splittest.com page 2 / 5

Some results on Su Doku

arxiv: v1 [math.co] 17 May 2016

Latin squares and related combinatorial designs. Leonard Soicher Queen Mary, University of London July 2013

Alternator Coins. Mentor: Dr. Tanya Khovanova. PRIMES CONFERENCE, May 21, PRIMES CONFERENCE, May 21,

Using KenKen to Build Reasoning Skills 1

UNIVERSITY OF NORTHERN COLORADO MATHEMATICS CONTEST

ON 4-DIMENSIONAL CUBE AND SUDOKU

You ve seen them played in coffee shops, on planes, and

Grade 6 Math Circles March 7/8, Magic and Latin Squares

SUDOKU Colorings of the Hexagonal Bipyramid Fractal

Throttling numbers for cop vs gambler

Generating trees and pattern avoidance in alternating permutations

Taking Sudoku Seriously

On Quasirandom Permutations

Permutations and Combinations. MATH 107: Finite Mathematics University of Louisville. March 3, 2014

Solutions to Exercises Chapter 6: Latin squares and SDRs

SudokuSplashZone. Overview 3

An Exploration of the Minimum Clue Sudoku Problem

MATHEMATICS ON THE CHESSBOARD

Techniques for Generating Sudoku Instances

PRIMES STEP Plays Games

PRIME FACTORISATION Lesson 1: Factor Strings

arxiv: v1 [cs.cc] 21 Jun 2017

WPF SUDOKU/PUZZLE GRAND PRIX 2014 WPFSUDOKU GP 2014 COMPETITIONBOOKLET ROUND6. Puzzle authors: Bulgaria Deyan Razsadov.

Mistilings with Dominoes

1 Introduction. 2 An Easy Start. KenKen. Charlotte Teachers Institute, 2015

Solving the Rubik s Cube Optimally is NP-complete

UN DOS TREZ Sudoku Competition. Puzzle Booklet for Preliminary Round. 19-Feb :45PM 75 minutes

Python for Education: The Exact Cover Problem

Part I: The Swap Puzzle

This chapter gives you everything you

On the Combination of Constraint Programming and Stochastic Search: The Sudoku Case

A Group-theoretic Approach to Human Solving Strategies in Sudoku

KenKen Strategies. Solution: To answer this, build the 6 6 table of values of the form ab 2 with a {1, 2, 3, 4, 5, 6}

FOM 11 Ch. 1 Practice Test Name: Inductive and Deductive Reasoning

Lecture 2.3: Symmetric and alternating groups

DEVELOPING LOGICAL SKILLS WITH THE HELP OF SUDOKU. Radost Nicolaeva-Cohen, Andreea Timiras, Adrian Buciu, Emil Robert Rudi Wimmer

Topics to be covered

An improvement to the Gilbert-Varshamov bound for permutation codes

Graphs of Tilings. Patrick Callahan, University of California Office of the President, Oakland, CA

Easy Games and Hard Games

Python for education: the exact cover problem

Applications of Advanced Mathematics (C4) Paper B: Comprehension INSERT WEDNESDAY 21 MAY 2008 Time:Upto1hour

The mathematics of Septoku

The Mathematics Behind Sudoku Laura Olliverrie Based off research by Bertram Felgenhauer, Ed Russel and Frazer Jarvis. Abstract

T H E M A T H O F S U D O K U

Applications of Advanced Mathematics (C4) Paper B: Comprehension WEDNESDAY 21 MAY 2008 Time:Upto1hour

Sudoku an alternative history

Pennies vs Paperclips

FOM 11 Ch. 1 Practice Test Name: Inductive and Deductive Reasoning

Tribute to Martin Gardner: Combinatorial Card Problems

Quarter Turn Baxter Permutations

X = {1, 2,...,n} n 1f 2f 3f... nf

Standard Sudoku point. 1 point. P a g e 1

Episode 4 30 th March 2 nd April 2018 Odd Even & Substitution Variations By R Kumaresan and Amit Sowani

WPF SUDOKU/PUZZLE GRAND PRIX 2014 WPF SUDOKU GP 2014 COMPETITION BOOKLET ROUND 4. Puzzle authors: Russia Andrey Bogdanov, Olga Leontieva.

Comprehensive. Do not open this test booklet until you have been advised to do so by the test proctor.

NOTES ON SEPT 13-18, 2012

of Nebraska - Lincoln

ROC DEZ Challenge. Toulouse

MATH302: Mathematics & Computing Permutation Puzzles: A Mathematical Perspective

Rating and Generating Sudoku Puzzles Based On Constraint Satisfaction Problems

Sample test questions All questions

Alternatives to Homework MATHEMATICS. Class VII

On Variants of Nim and Chomp

The pairing strategies of the 9-in-a-row game

Introduction to Counting and Probability

Lecture 7: The Principle of Deferred Decisions

Stacking Blocks and Counting Permutations

WPF SUDOKU GP 2014 ROUND 2 WPF SUDOKU/PUZZLE GRAND PRIX Puzzle authors: Serbia. Organised by

The most difficult Sudoku puzzles are quickly solved by a straightforward depth-first search algorithm

KenKen Strategies 17+

Corners in Tree Like Tableaux

Bulgarian Solitaire in Three Dimensions

INFLUENCE OF ENTRIES IN CRITICAL SETS OF ROOM SQUARES

REVIEW ON LATIN SQUARE

LMI Sudoku test Shapes and Sizes 7/8 January 2012

Chameleon Coins arxiv: v1 [math.ho] 23 Dec 2015

Week 1. 1 What Is Combinatorics?

Some t-homogeneous sets of permutations

Yet Another Organized Move towards Solving Sudoku Puzzle

Fast Sorting and Pattern-Avoiding Permutations

MAT 409 Semester Exam: 80 points

Investigation of Algorithmic Solutions of Sudoku Puzzles

The Unreasonably Beautiful World of Numbers

Sudoku 16 X 16: 100 Sudoku Puzzles Volume 2 By David Badger READ ONLINE

Principle of Inclusion-Exclusion Notes

CS100: DISCRETE STRUCTURES. Lecture 8 Counting - CH6

Partitions and Permutations

Cryptographic and Physical Zero-Knowledge Proof Systems for Solutions of Sudoku Puzzles

The puzzle Sudoku has become the passion

Spiral Galaxies Font

Lecture 6: Latin Squares and the n-queens Problem

A year ago I investigated a mathematical problem relating to Latin squares. Most people, whether knowing it or not, have actually seen a Latin square

A STUDY OF EULERIAN NUMBERS FOR PERMUTATIONS IN THE ALTERNATING GROUP

Transcription:

Counting Sudoku Variants Wayne Zhao mentor: Dr. Tanya Khovanova Bridgewater-Raritan Regional High School May 20, 2018 MIT PRIMES Conference Wayne Zhao Counting Sudoku Variants 1 / 21

Sudoku Number of fill-ins to regular Sudoku is 6670903752021072936960 not accounting for symmetries (casework 2005). Wayne Zhao Counting Sudoku Variants 2 / 21

Sudoku Number of fill-ins to regular Sudoku is 6670903752021072936960 not accounting for symmetries (casework 2005). Smallest number of clues needed for unique solution is 17 (computer 2012). Wayne Zhao Counting Sudoku Variants 2 / 21

Sudo-Kurve Example of Sudo-Kurve (from gmpuzzles.com) Wayne Zhao Counting Sudoku Variants 3 / 21

Solving the Sudo-Kurve Wayne Zhao Counting Sudoku Variants 4 / 21

Solving the Sudo-Kurve Wayne Zhao Counting Sudoku Variants 4 / 21

Solving the Sudo-Kurve Wayne Zhao Counting Sudoku Variants 4 / 21

Solving the Sudo-Kurve Wayne Zhao Counting Sudoku Variants 4 / 21

Solving the Sudo-Kurve Wayne Zhao Counting Sudoku Variants 4 / 21

Solving the Sudo-Kurve Wayne Zhao Counting Sudoku Variants 4 / 21

Solving the Sudo-Kurve Wayne Zhao Counting Sudoku Variants 4 / 21

Cube Sudo-Kurve We call this a cube Sudo-Kurve because we can unfold it into: Figure: Empty Sudo-Cube grid by flipping the middle square along its antidiagonal. Wayne Zhao Counting Sudoku Variants 5 / 21

Number of Solutions Theorem The total number of valid fill-ins of the 3 3 3 Cube Sudo-Kurve is 9! 40 = 14515200. The factor of 9! accounts for the fact that we can randomly permute the numbers in the first subgrid. Fixing that, we show that there are 40 ways to fill in the rest of the Sudo-Kurve. Wayne Zhao Counting Sudoku Variants 6 / 21

Strategies Observations: If we know 8 numbers in any row, column, or 3 3 subgrid, we can figure out the 9th. Wayne Zhao Counting Sudoku Variants 7 / 21

Strategies Observations: If we know 8 numbers in any row, column, or 3 3 subgrid, we can figure out the 9th. If we know the locations of two instances of a symbol, we can figure out the third. Wayne Zhao Counting Sudoku Variants 7 / 21

Strategies Observations: If we know 8 numbers in any row, column, or 3 3 subgrid, we can figure out the 9th. If we know the locations of two instances of a symbol, we can figure out the third. This enables us to already compute the case for the 3 3 3 Cube Sudo-Kurve. Wayne Zhao Counting Sudoku Variants 7 / 21

Counting Once we fix the numbers in the first subgrid (e.g., to 1, 2, 3, 4, 5, 6, 7, 8, 9), the first row of the second subgrid can be either 1 4, 5, 6 (numbers all from one row) Wayne Zhao Counting Sudoku Variants 8 / 21

Counting Once we fix the numbers in the first subgrid (e.g., to 1, 2, 3, 4, 5, 6, 7, 8, 9), the first row of the second subgrid can be either 1 4, 5, 6 (numbers all from one row) 2 4, 5, 7 (numbers all from two rows and two columns) Wayne Zhao Counting Sudoku Variants 8 / 21

Counting Once we fix the numbers in the first subgrid (e.g., to 1, 2, 3, 4, 5, 6, 7, 8, 9), the first row of the second subgrid can be either 1 4, 5, 6 (numbers all from one row) 2 4, 5, 7 (numbers all from two rows and two columns) 3 4, 5, 9 (numbers all from two rows and three columns) We can directly count in each of these cases, and we find the totals to be 16, 12, 12 respectively, for 40 total. Wayne Zhao Counting Sudoku Variants 8 / 21

Minimum Number of Clues The minimum number of clues is at least 8. In fact, 8 is the minimum of clues: Wayne Zhao Counting Sudoku Variants 9 / 21

Estimates for Higher Dimensions An upper bound on an n n n Sudo-Kurve is ((n 2 )!) n (n!) n2 (n 1) (n 1) n3 (n 1) ((n2 )!) n (n!) n2 (n 1) n n3 (n 1) e n2 (n 1) which we get by considering the number of ways to assign coordinates to numbers. Wayne Zhao Counting Sudoku Variants 10 / 21

Estimate Derivation First, consider permutations of the multiset {1, 1,..., 1, 2, 2,..., 2,..., n, n,..., n} }{{}}{{}}{{} n times n times n times Wayne Zhao Counting Sudoku Variants 11 / 21

Examples Two permutations are diverse if no number is paired up with itself {1, 1, 1, 2, 2, 2, 3, 3, 3} {2, 3, 2, 1, 3, 3, 1, 1, 2} Wayne Zhao Counting Sudoku Variants 12 / 21

Examples Two permutations are complementary if between the two permutations, all n 2 pairs of numbers are formed {1, 1, 1, 2, 2, 2, 3, 3, 3} {1, 2, 3, 2, 3, 1, 3, 2, 1} Wayne Zhao Counting Sudoku Variants 13 / 21

Expressions Let p n be the number of permutations, d n be the number of permutations diverse to a particular one, and c n be the number of permutation complementary to a particular one. We have ( n 2 ) p n = n, n,..., n }{{} n times d n = (n!) n = (n2 )! (n!) n. c n = ( 1) n (L n (x)) n e x dx < ((n2 )!) n (n!) n2 (n 1) (n 1) n3 (n 1) 0 n n3 (n 1) Wayne Zhao Counting Sudoku Variants 14 / 21

First Estimate Our estimate is p 2n n ( dn p n ) n(n 1) ( cn p n ) n Wayne Zhao Counting Sudoku Variants 15 / 21

Generalization That estimate easily generalizes to p n(k 1) n ( dn p n ) n(n 1)(k 1)/2 ( cn p n ) nk(k 1)/2 Wayne Zhao Counting Sudoku Variants 16 / 21

Other Grids There are many variants. For instance, here is a heart-shaped Sudoku: Wayne Zhao Counting Sudoku Variants 17 / 21

Heart Sudo-Kurve There are 9! ways to fill in the top left-most subgrid. Conjecture There are 577338624 ways to fill in this Sudo-Kurve. Wayne Zhao Counting Sudoku Variants 18 / 21

Future Work Prove those above conjectures, and a few more. There are many, many more different possible shapes of Sudo-Kurves. There are also many more puzzles to consider. Wayne Zhao Counting Sudoku Variants 19 / 21

Acknowledgements Dr. Tanya Khovanova Yu Zhao MIT PRIMES MIT Math Department My parents Wayne Zhao Counting Sudoku Variants 20 / 21

References GMPuzzles Even, S., Gillis, J. (1976). Derangements and Laguerre polynomials. Mathematical Proceedings of the Cambridge Philosophical Society, 79(1), 135-143. doi:10.1017/s0305004100052154 Wayne Zhao Counting Sudoku Variants 21 / 21