Sudoku Programmers Forum Index

 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   ProfileProfile   Log inLog in          Games  Calendar

Log in to check your private messagesLog in to check your private messages   

Gang of 44

 
Post new topic   Reply to topic    Sudoku Programmers Forum Index -> Solving sudoku
View previous topic :: View next topic  
Author Message
gaby

Joined: 02 Jul 2005
Posts: 120
:

Items
PostPosted: Fri Dec 30, 2005 1:02 pm    Post subject: Gang of 44 Reply with quote

Hi,

I have the Gang of 44 definition on my site:

http://vanhegan.net/sudoku/dictionary.php?letter=g#gang%20of%2044

Which links to the original source:

http://www.shef.ac.uk/~pm1afj/sudoku/ed44.html

I have had a comment that it would be good to include the actual 44 combinations on the site somewhere (either in the definition or in a separate file). The only problem is that I can't wrap my head around what the table at the bottom means, and how I could generate the 44 equivalent grids from that table. Can anyone with a better understanding explain it to me? If I read it correctly, there will be more than 44 grids produced...

Gaby
_________________
Free daily sudoku - Online puzzle database
http://vanhegan.net/sudoku/
Back to top
View user's profile Send private message Visit poster's website
LarryLACa

Joined: 21 Oct 2005
Posts: 2
:

Items
PostPosted: Fri Jan 06, 2006 9:25 pm    Post subject: Math of Sudoku Reply with quote

Each of the Gang of 44 corresponds only indirectly to a Sudoku grid, which limits their usefulness in many (non-math) situations.

Each of the 'Gang of 44' is a very 'compact' representation of all the possibilities of creating a valid top band Sudoku grid. Each of the 44 can be unfolded into N (canonical) top band solutions (usually identifed as siZe of the set or equivalence class). Each of the canonical band solutions (fixed Box1 numbering, ordered Box2,3..) can be expanded into 9! * 72 distinct solutions.

Each of the top band (partial) solutions can be completed in M (compact) ways, to form a full grid. M is the last(?) column in the G44 table, and is like ~100,000,000. Each of these can be expanded into another 72 distinct solutions.

Computing the weighted sums of the Ms with 9! * 72 * 72 and their class size, gives the 6.7e21 total number of distinct solutions.

The G44 IDs are the column values of Boxes2 & 3 that have been 'flattened'. To flatten a Sudoku box, order the cell values in the box mini-columns, lowest at the top. The flattened representation is no longer a valid Sudoku box, but it simplifies the counting. Box1 is numbered
Code:
123
456
789
There's more to the flattening consolidation, but this gives the general idea.

Constructing a (few) valid band solution(s) that belongs to the set (equivalence class) for each of the G44 is not hard. Think of it as another type of puzzle for constructing a top band, the above gives clues for Box1..3 values. But this only gives you a few bands. Expanding them further (to full grids or all implied equivalent bands) is not so easy. Crying or Very sad

Wikipedia - Math of Sudoku has a longer explanation of the technique. Anyone interested in helping with the Wikipedia related pages, is always welcome.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Sudoku Programmers Forum Index -> Solving sudoku All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Sudoku Programmers topic RSS feed 


Powered by phpBB © 2001, 2005 phpBB Group

Igloo Theme Version 1.0 :: Created By: Andrew Charron