Resolution of Sudokus Using Groebner Basis

Authors

  • Maria Rosario Gonzalez-Dorrego Universidad Aut´onoma de Madrid, Madrid, Spain

DOI:

https://doi.org/10.32603/2071-2340-3-5-21

Abstract

We study the resolution of sudokus and generalized sudokus using Groebner basis. Let x_1, ..., x_81 the 81 squares which form the sudoku, arranged from left to right and from top to bottom. Its solution will be (a_1, ...,a_81), where a_i is the number in the square associated to the variable x_i.$ Let $S$ be a sudoku with preassigned data {c_{i}}_{iin L}, for Lsubset {1, ..., 81}. All the necessary information to solve the sudoku is contained in the algebraic set mathbb V (I+<{x_{i}-c_{i}}_{iin L}>). We shall use Groebner basis to find a solution and give a SAGE code for that purpose.

Author Biography

  • Maria Rosario Gonzalez-Dorrego, Universidad Aut´onoma de Madrid, Madrid, Spain

    Gonzalez-Dorrego Maria Rosario: Departamento de Matem´aticas Universidad Autonoma de Madrid; Ciudad Universitaria de ´ Cantoblanco, 28049 Madrid, SPAIN mrosario.gonzalez@uam.es

Downloads

Published

2018-06-29

Issue

Section

Algorithmic mathematics and mathematical modelling

How to Cite

[1]
M. R. Gonzalez-Dorrego, “Resolution of Sudokus Using Groebner Basis”, Компьютерные инструменты в образовании, no. 3, pp. 5–21, Jun. 2018, doi: 10.32603/2071-2340-3-5-21.