<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Forem: Jordan Maire</title>
    <description>The latest articles on Forem by Jordan Maire (@teliance).</description>
    <link>https://forem.com/teliance</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3771246%2Ffa2d0ef6-b648-448d-8a6c-e70ac9150943.jpg</url>
      <title>Forem: Jordan Maire</title>
      <link>https://forem.com/teliance</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/teliance"/>
    <language>en</language>
    <item>
      <title>Building a playable Graeco-Latin Sudoku square: the math behind Suirodoku</title>
      <dc:creator>Jordan Maire</dc:creator>
      <pubDate>Fri, 13 Feb 2026 15:40:10 +0000</pubDate>
      <link>https://forem.com/teliance/building-a-playable-graeco-latin-sudoku-square-the-math-behind-suirodoku-gf3</link>
      <guid>https://forem.com/teliance/building-a-playable-graeco-latin-sudoku-square-the-math-behind-suirodoku-gf3</guid>
      <description>&lt;p&gt;In 1782, Euler imagined arranging 36 officers in a square so that no regiment and no rank repeated in any row or column. He couldn't solve it. The structure he imagined, Graeco-Latin squares, became a cornerstone of combinatorics.&lt;/p&gt;

&lt;p&gt;I turned it into a puzzle you can play.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is Suirodoku?
&lt;/h2&gt;

&lt;p&gt;A 9×9 grid where each cell contains a digit (1-9) AND a color (9 colors). The rules:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Each row contains all 9 digits and all 9 colors&lt;/li&gt;
&lt;li&gt;Each column contains all 9 digits and all 9 colors
&lt;/li&gt;
&lt;li&gt;Each 3×3 block contains all 9 digits and all 9 colors&lt;/li&gt;
&lt;li&gt;Each of the 81 digit-color pairs appears exactly once&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;That last rule is what makes it fundamentally different from Sudoku. Every cell has a unique identity.&lt;/p&gt;

&lt;h2&gt;
  
  
  The interesting math
&lt;/h2&gt;

&lt;p&gt;I formalized Suirodoku as a Constraint Satisfaction Problem. Classical Sudoku has 27 constraints. Suirodoku has 55.&lt;/p&gt;

&lt;p&gt;The global pair uniqueness constraint creates a bijection between cells and pairs. This means solving techniques exist that have no Sudoku equivalent:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Rainbow Technique&lt;/strong&gt;: track one digit across all 9 colors&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Chromatic Circle&lt;/strong&gt;: track one color across all 9 digits&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  An open problem
&lt;/h2&gt;

&lt;p&gt;The &lt;strong&gt;God Digit Problem&lt;/strong&gt;: must every uniquely solvable Suirodoku puzzle contain all 9 digits among its clues? In Sudoku you can always relabel digits, but Suirodoku's global constraint breaks that symmetry.&lt;/p&gt;

&lt;p&gt;I proved a Dichotomy Theorem: either no digit is critical, or all are. Which one holds remains unsolved.&lt;/p&gt;

&lt;h2&gt;
  
  
  Try it &lt;a href="https://suirodoku.com" rel="noopener noreferrer"&gt;suirodoku.com&lt;/a&gt;
&lt;/h2&gt;

&lt;p&gt;Research paper: &lt;a href="https://zenodo.org/records/18625970" rel="noopener noreferrer"&gt;Zenodo&lt;/a&gt;&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>algorithms</category>
      <category>webdev</category>
    </item>
  </channel>
</rss>
