Blog post enumerates 288 valid 4x4 sudoku solutions, 12 structurally distinct
Developer counts all possible 4x4 sudoku grids and puzzles using brute-force search and structural equivalence.
What to know
- There are exactly 288 valid 4x4 sudoku solutions, but only 12 are structurally unique when digit relabeling is considered equivalent.
- The post uses brute-force enumeration to count solutions and group them by structural equivalence under permutations.
- The finding contrasts sharply with standard 9x9 sudoku, which has over 6.6 septillion possible solutions.
baldino Blog author
How it unfolded 3 developments, newest first · click a bar or a number to jump posts
-
3
Hacker News frontpage submission with expanded metrics
A Hacker News post presents the findings with an updated title noting 85,632 possible puzzles alongside the 12 grid variants.
-
> An elegant way of finding the 12 solutions I found the 12 solutions by hand. If you label the four numbers in the upper-left big square 1, 2, 3, 4 by symmetry of permutations, then there's a second symmetry you can apply. The second symmetry is that swapping rows 3&4 or swapping columns 3&4 preserves whether a board is a solution. You can use…
1 more of the top 2 · 2 posts in this stretch
-
I think B and C are identical (to symmetries) B B' C 1 2 4 3 3 4 2 1 1 2 4 3 3 4 2 1 1 2 4 3 3 4 2 1 4 3 1 2 2 1 3 4 2 3 1 4 2 1 3 4 4 3 1 2 4 1 3 2 B' is a label permutation of B: 1->3, 2->4, 3->1, 4->2. C is swapping the first 2 rows of B'. So they're equivalent. I used symmetry tricks over here https://hachyderm.io/@bazzargh/116286733347456470…
-
-
2
Lobsters community shares the post
The article gains attention on Lobsters, where it reaches 14 points with early engagement.
-
1
Baldino publishes enumeration of 4x4 sudoku solutions and structural variants
A blog post counts all valid 4x4 sudoku grids and analyzes how many are structurally identical under digit relabeling. The post finds 288 total solutions but only 12 structurally distinct variants when symmetries are considered.
“There are only twelve 4x4 sudokus! ... Or 288, depending on what counts as different solutions to you.”
— baldino