Get the latest tech news

Unlocking Sudoku's Secrets


Sara Logsdon looks to graph theory and abstract algebra for help on the puzzle page

Backtracking is a systematic search algorithm that explores the solution space by making choices and undoing them when they lead to contradictions or dead ends. We can solve this system by applying Buchberger’s algorithm to compute a Gröbner basis and from there, read off the solution to the initial grid. So, the next time you pick up a sudoku puzzle, remember this beautiful layer of graphs and polynomial equations that lies beneath its surface.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of secrets

secrets

Photo of Unlocking Sudoku

Unlocking Sudoku

Related news:

News photo

GitHub expands security tools after 39 million secrets leaked in 2024

News photo

AI Reveals Secrets of Dendritic Growth in Thin Films

News photo

GitHub Action supply chain attack exposed secrets in 218 repos