Python programming and algebra: Some special elements in Gaussian integers modulo a prime

We consider the complexification of a commutative ring with unity and specialize this construction to Z_p[i], with p a prime of the form 4k+1. Since this ring is commutative with unity and is not a field, it is feasible to study various classes of special elements such as invertibles, zero-divisors, idempotents, and nilpotents. The method for this study consists of developing computer programs in Python, through which the lists of special elements in Z_p[i] are generated for different values of p. The patterns that characterize these lists are sought, in addition to the cardinality of each of these sets. Subsequently, conjectures of mathematical type are stated for each of these classes of elements, which reflect the observed patterns and properties. Finally, formal mathematical proofs of all the conjectures found are made based on various concepts and results of the theory of numbers, groups, and rings. Thus, we show that Python programming, properly used as part of a method, becomes an important tool to identify patterns, properties, and characteristics of several abstract concepts, typical of algebra.

Authors

Institutions

Publication Details

Journal
Scientia et technica
Published
2025-04-02
DOI
https://doi.org/10.22517/23447214.25748
Primary Topic
Mathematical and Theoretical Analysis
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Python programming and algebra: Some special elements in Gaussian integers modulo a prime

Jesús Ávila, José david Liévano-gonzález, Oscar eduardo Trujillo-niño
Scientia et technica
Mathematical and Theoretical Analysis
article

Python programming and algebra: Some special elements in Gaussian integers modulo a prime

Jesús Ávila, José david Liévano-gonzález, Oscar eduardo Trujillo-niño
article en

Abstract

We consider the complexification of a commutative ring with unity and specialize this construction to Z_p[i], with p a prime of the form 4k+1. Since this ring is commutative with unity and is not a field, it is feasible to study various classes of special elements such as invertibles, zero-divisors, idempotents, and nilpotents. The method for this study consists of developing computer programs in Python, through which the lists of special elements in Z_p[i] are generated for different values of p. The patterns that characterize these lists are sought, in addition to the cardinality of each of these sets. Subsequently, conjectures of mathematical type are stated for each of these classes of elements, which reflect the observed patterns and properties. Finally, formal mathematical proofs of all the conjectures found are made based on various concepts and results of the theory of numbers, groups, and rings. Thus, we show that Python programming, properly used as part of a method, becomes an important tool to identify patterns, properties, and characteristics of several abstract concepts, typical of algebra.

Scientia et technicaVol. 30(01)
Southwestern Educational Society (PR), University of Tolima (CO), Asociación Mexicana de Psicología y Desarrollo Comunitario (MX), University of Puerto Rico-Mayaguez (PR)
Openalex Percentile: Top 87%
Mathematical and Theoretical Analysis
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.