On Binary Solutions to a System of Linear Equations Modulo Three

We consider the problem of finding a binary solution to a system of linear equations modulo three. In the case where the number of equations is less than a sufficiently slowly growing function of the number of variables, a new polynomial-time algorithm is proposed to recognize the existence of a binary solution to such a system. The algorithm is based on the note that, if the coefficient matrix contains nonzero columns proportional to each other, then the elimination of the corresponding variables preserves the property of having no binary solution to the system. In particular, every system of two equations in five variables permits the elimination of some variables that preserves the property of having no binary solution to the system. Based on these results, we propose an errorless heuristic algorithm, which is implemented in the Python programming language. The NumPy library is used to represent matrices and perform basic operations. The input is the augmented matrix of the system. The empirical runtime estimate is calculated using the implementation. It is experimentally shown that the algorithm is more efficient for sparse systems of equations. Obviously, the binary search method can find a binary solution to the system when one exists. This observation opens up the possibility of its practical use, in particular, for solving problems of mathematical biology.

Authors

Institutions

Publication Details

Journal
Programming and Computer Software
Published
2025-03-25
DOI
https://doi.org/10.1134/s0361768824700919
Primary Topic
Polynomial and algebraic computation
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

On Binary Solutions to a System of Linear Equations Modulo Three

Oleg A. Zverkov, А. В. Селиверстов
Programming and Computer Software
Polynomial and algebraic computation
article

On Binary Solutions to a System of Linear Equations Modulo Three

Oleg A. Zverkov, А. В. Селиверстов
article en

Abstract

We consider the problem of finding a binary solution to a system of linear equations modulo three. In the case where the number of equations is less than a sufficiently slowly growing function of the number of variables, a new polynomial-time algorithm is proposed to recognize the existence of a binary solution to such a system. The algorithm is based on the note that, if the coefficient matrix contains nonzero columns proportional to each other, then the elimination of the corresponding variables preserves the property of having no binary solution to the system. In particular, every system of two equations in five variables permits the elimination of some variables that preserves the property of having no binary solution to the system. Based on these results, we propose an errorless heuristic algorithm, which is implemented in the Python programming language. The NumPy library is used to represent matrices and perform basic operations. The input is the augmented matrix of the system. The empirical runtime estimate is calculated using the implementation. It is experimentally shown that the algorithm is more efficient for sparse systems of equations. Obviously, the binary search method can find a binary solution to the system when one exists. This observation opens up the possibility of its practical use, in particular, for solving problems of mathematical biology.

Programming and Computer SoftwareVol. 51(2)
Institute for Information Transmission Problems (RU)
Openalex Percentile: Top 93%
Polynomial and algebraic computation
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.