More Computational Curiosities of Sudoku ( 数独 ) Bryson R. Payne, Ph.D. North Georgia College & State University.

Slides:



Advertisements
Similar presentations
Can you master it?. Sudoku Hype Sudoku is a logic-based number placement puzzle. The objective is to fill a 9×9 grid so that each column, each row, and.
Advertisements

Magic Squares Debunking the Magic Radu Sorici
Elementary Linear Algebra
Mathematics Discrete Combinatorics Latin Squares.
Algebra and Sudoku By Ashley MacDonald Math 354: Modern Algebra 1
Structured Graphs and Applications
Using Magic Squares to Study Algebraic Structure Bret Rickman MS, M.Ed. Portland State University Portland Community College “I have often admired the.
May 2007Task SchedulingSlide 1 Task Scheduling A Lecture in CE Freshman Seminar Series: Ten Puzzling Problems in Computer Engineering.
Beaucoup de Sudoku Mike Krebs, Cal State LA(joint work with C. Arcos and G. Brookfield) For slideshow: click “Research and Talks” from
May 2012Task SchedulingSlide 1 Task Scheduling A Lecture in CE Freshman Seminar Series: Ten Puzzling Problems in Computer Engineering.
Multicultural Math Fun: Learning With Magic Squares by Robert Capraro, Shuhua An & Mary Margaret Capraro Integrating computers in the pursuit of algebraic.
SOLVING SUDOKU Graham Hutton University of Nottingham (with thanks to Richard Bird)
The Mathematics of Sudoku Helmer Aslaksen Department of Mathematics National University of Singapore
SOLVING THE KAKURO PUZZLE Andreea Erciulescu Department of Mathematics, Colorado State University, Fort Collins (Mentor: A. Hulpke)
Perform Basic Matrix Operations Chapter 3.5. History The problem below is from a Chinese book on mathematics written over 2000 years ago: There are three.
Do Now Order the following fractions from least to greatest: ½, 1/8, 1/3, 1/9 2/3, 1/6, 3/6, 2/5, 4/7 Homework: lattice multiplication worksheet.
Solving Sudoku Mark PTTLS Micro teach. Solving Sudoku What is a Sudoku? A Sudoku is a number puzzle based on a 9x9 grid made up from smaller 3x3 blocks.
Patrick March, Lori Burns. History Islamic thinks and the discovery of the latin square. Leonhard Euler, a Swiss mathematician from the 18 th century,
Mathematical Methods In Solving Sudoku Puzzles By: Cory Trenkamp Wright State University May 24, 2006.
SOLVING SUDOKU WITH MATLAB
SUDOKU Via Relaxation Labeling
Sudoku Puzzles Frank Hilvers Taylor O’Brien. The History of Sudoku The history of Sudoku puzzles dates back to the 18th century.  Swiss mathematician.
Copyright © Cengage Learning. All rights reserved.
Copyright © Cengage Learning. All rights reserved. CHAPTER 11 ANALYSIS OF ALGORITHM EFFICIENCY ANALYSIS OF ALGORITHM EFFICIENCY.
Systems and Matrices (Chapter5)
Parklands Junior School Maths Workshop Contents Methods of calculation Facts and general knowledge Using and applying My Maths.
Multiplication and Division Math Content – Part 3 March 4, 2013.
Sudoku Hands-on Training Masters Project Presentation Yiqi Gao March 19, 2014.
SOLVING SUDOKU WITH MATLAB Raluca Marinescu, Andrea Garcia, Ivan Castro, Eduard Enoiu Mälardalen University, Västerås,
Gaining Teaching Experience in a History of Mathematics Course Angie Hodge
4th Grade Math Multiplying 2-digit by 2-digit Numbers Using the Area Model / Box Method.
10.4 Matrix Algebra 1.Matrix Notation 2.Sum/Difference of 2 matrices 3.Scalar multiple 4.Product of 2 matrices 5.Identity Matrix 6.Inverse of a matrix.
Algorithms for Addition and Subtraction. Children’s first methods are admittedly inefficient. However, if they are free to do their own thinking, they.
Whiteboardmaths.com © 2008 All rights reserved
Get Into Sudoku! How to play and how to become an expert.
Sudoku Solver Comparison A comparative analysis of algorithms for solving Sudoku.
©Evergreen Public Schools Teacher Notes 10/30/2015 Supplies Needed: Class set of sudoku puzzles. 4 sets squares with the digits 1 – 4. 6 sets squares.
Sudoku Jordi Cortadella Department of Computer Science.
Lacey Johnson Summer 2013 Student Research Project – James Madison University Sudoku can be described as a system of polynomials which can then be solved.
SOLVING SUDOKU WITH MATLAB Raluca Marinescu, Andrea Garcia, Ivan Castro, Eduard Enoiu Mälardalen University, Västerås,
Magic Square By Andrea Schweim.
To create a program, written in C++, that could generate a Sudoku. Elements to take into consideration: The Sudoku created must have one unique solution.
The Associative Property Using Tiles © Math As A Second Language All Rights Reserved next #4 Taking the Fear out of Math.
Getting Started with a Problem “Eighty percent of success is showing up.” –Woody Allen To successfully solve any problem, the most important step is to.
Strategy for Advanced Multiplication Nadine Gilkison.
Facebook Project – Mary Lang
How Do I Solve This Thing?. You are familiar with Sudoku puzzles. For this variation, place the integers 1 – 9 into each row or column such that the.
Sudoku is a logic-based, combinatorial number-placement puzzle. The objective is to fill a 9x9 grid with digits so that each column, each row, and each.
Whiteboardmaths.com © 2004 All rights reserved
Magic Squares A 3 x 3 magic Square
How do I multiply a triple digit number by a double digit? 145 x 67 = ? 267 x 19 = ? I’m sure that you’ll agree that there are many methods that we can.
CompSci Problem Solving: Sudoku  Rules of the Game Sudoku is played with a 9 by 9 "board" consisting of nine 3 by 3 sub-boards. The symbols 1 -
SAT Encodings for Sudoku Bug Catching in 2006 Fall Sep. 26, 2006 Gi-Hwon Kwon.
Everyday Math 2 nd Grade Unit 2 Lesson 3 Doubles Facts I can review and practice doubles facts.
By: Megan Funk. I will: 1. Explain the binary number system How to: -Generate binary from a number -Add binary 2. Explain the base-b number system 3.
Combinatorial Designs and Their Applications ( 組合設計及其應用 ) 應用數學系 傅恆霖.
Teacher Notes Supplies Needed: Class set of sudoku puzzles.
How Many Ways Can 945 Be Written as the Difference of Squares?
Legos, lunch time, and lollipops Two-way Frequency Tables
Patrick MacKinnon & Claude-Michelle Chavy-Waddy
Example Fill in the grid so that every row, column and box contains each of the numbers 1 to 9:
9.3 Lego’s, Lunch and Lots More Two-way Frequency Tables
The mathematics behind sudoku
Objective: Today we will investigate the ‘magic’ in magic squares.
7.1 Magic Square 3X3 (Paper-Pencil Game)
Sudoku (数独 sūdoku?), also known as Number Place or Nanpure, is a logic-based placement puzzle. The objective is to fill the grid so that every column,
An example of how to represent a problem
© T Madas.
Chapter 4 Systems of Linear Equations; Matrices
Magical Hexagons (Teachers notes):
Presentation transcript:

More Computational Curiosities of Sudoku ( 数独 ) Bryson R. Payne, Ph.D. North Georgia College & State University

What is Sudoku? Usually 9x9 grid with 9 3x3 subgrids Usually 17 to 32 “givens” Must fill in the grid so that each digit 1-9 appears only once in each column, row, and 3x3 subgrid

What’s in a name? Japanese name ( 数字は独身に限る ) = "Sūji wa dokushin ni kagiru" = the digits must occur only once 数独 = “su doku” = number single = Chinese “shu du” In each row, column, and area (usually 3x3 box), each digit must occur only once

Computational Curiosities Sudokus are special cases of magic squares (in which all rows and columns add up to 45) Sudokus are also special cases of Latin Squares (in which digits appear only once in each row & column) with the added requirement that digits appear only once in each 3x3 grid

More Computational Curiosities There are approximately 6x10 21 valid sudoku grids Taking into account rotation & reflection, there are only around 4 trillion relatively unique sudoku grids Considering relabeling leaves only around 5 billion unique sudoku puzzle grids

History of Sudoku Magic squares were printed in China at least back to the 1 st & 2 nd centuries A.D. First believed to be introduced to the West in the 9 th century in Thabit ibn Qurrah Europe’s famous appearance of a magic square is in Albrecht Dürer's 'Melancholia' in 1514 where a 4x4 magic square is shown with an arrangement of the numbers 1-16 and a sum of 34 in each row, column and diagonal

History continued The Swiss mathematician Leonhard Euler (of i and π fame) developed the closest historical relative to the modern sudoku, which he called Latin Squares, while teaching at the St. Petersburg Academy in Russia Believed to have presented the puzzle on October 17, 1776 – published 6 years later

Into the 20 th Century Euler’s puzzle remained largely unused for over 200 years, until Howard Garnes published the first known 9x9 Sudoku puzzle in Dell Puzzle Magazines in 1979 Title of the puzzle was “Number Place” Garnes added the rule that each 3x3 block had to satisfy the same requirements as each row and column

Into Japan Garnes’ puzzle quickly caught on in Japan One possible explanation for Sudoku’s popularity in Japan is a property of the Japanese language: Japanese characters are more symbolic than phonetic, and do not lend themselves easily to crosswords Japanese characters are more symbolic than phonetic, and do not lend themselves easily to crosswords Sudoku was first printed in the Monthly Nikolist magazine in April 1984

Back to the USA… almost In 1989, Loadstar/Softdisk introduced DigitHunt for the Commodore 64, the first known computerized version of Sudoku In 1997, a retired judge from New Zealand saw a partially solved Japanese sudoku puzzle and spent years developing & promoting a program to quickly produce the puzzles In November 2004, the London Times launched the puzzle, which quickly became a craze in Great Britain

Back to the USA In the spring of 2005, sudokus finally returned to the US in strong form

Hints & Heuristics Hints and Heuristics from American Scientist: The most elementary strategy for solving the puzzle is to examine each cell and list all its possible occupants—that is, all the numbers not ruled out by a conflict with another cell. If you find a cell that has only one allowed value, then obviously you can write that value in. The complementary approach is to note all the cells within a row, a column or a block where some particular number can appear; again, if there is a number that can be put in only one position, then you should put it there.

More Hints & Heuristics These are known as Level 1 rules: They restrict a cell to a single value or restrict a value to a single cell. At level 2 are rules that apply to pairs of cells within a row, column or block; when two such cells have only two possible values, those values are excluded elsewhere in the neighborhood. Level-3 rules work with triples of cells and values in the same way. In principle, the tower of rules might rise all the way to level 9.

It’s Just Not That Easy Part of the fun lies in the fact that not all Sudokus can be solved by these rules alone; some of the puzzles seem to demand analytic methods that don't have a clear place in the hierarchy. A few of these tactics have even acquired names, such as "swordfish" and "x-wing." The subtlest of them are nonlocal rules that bring together information from across a wide swath of the matrix.

Variations on Sudoku

Samurai Sudoku

Killer Sudoku

Killer Samurai Solution

Great Resources Free, online Sudoku sites: (my favorite ) (my favorite ) (hints, solves) (hints, solves)

Sudokus to print out: cube & code-doku - cube & code-doku Pay-per-view Sudokus:

Sudoku History: /assetid/48550g /assetid/48550g /assetid/ /assetid/

The Holy Grail: A Sudoku Solver

Another Great Site My web site: Has this presentation, as well as the “Computational Curiosities of Sudoku” handout Has this presentation, as well as the “Computational Curiosities of Sudoku” handout

Conclusion Finally – numbers are part of a positive, fun “craze” in the US! Sudokus have a rich, multicultural history Solving sudokus is primarily non- mathematical, but might help reduce “number anxiety” prevalent in our society There’s a sudoku level and variation for every taste – catch the fever today!

Thank You!