English

Primality Testing via Circulant Matrix Eigenvalue Structure: A Novel Approach Using Cyclotomic Field Theory

Symbolic Computation 2025-05-05 v1 Machine Learning

Abstract

This paper presents a novel primality test based on the eigenvalue structure of circulant matrices constructed from roots of unity. We prove that an integer n>2n > 2 is prime if and only if the minimal polynomial of the circulant matrix Cn=Wn+Wn2C_n = W_n + W_n^2 has exactly two irreducible factors over Q\mathbb{Q}. This characterization connects cyclotomic field theory with matrix algebra, providing both theoretical insights and practical applications. We demonstrate that the eigenvalue patterns of these matrices reveal fundamental distinctions between prime and composite numbers, leading to a deterministic primality test. Our approach leverages the relationship between primitive roots of unity, Galois theory, and the factorization of cyclotomic polynomials. We provide comprehensive experimental validation across various ranges of integers, discuss practical implementation considerations, and analyze the computational complexity of our method in comparison with established primality tests. The visual interpretation of our mathematical framework provides intuitive understanding of the algebraic structures that distinguish prime numbers. Our experimental validation demonstrates that our approach offers a deterministic alternative to existing methods, with performance characteristics reflecting its algebraic foundations.

Cite

@article{arxiv.2505.00730,
  title  = {Primality Testing via Circulant Matrix Eigenvalue Structure: A Novel Approach Using Cyclotomic Field Theory},
  author = {Marius-Constantin Dinu},
  journal= {arXiv preprint arXiv:2505.00730},
  year   = {2025}
}

Comments

27 pages, 5 figures, 2 tables; This paper was created with AI assistance using Symbia Engine from SymbolicAI Framework [Dinu et al.]; Repository: https://github.com/ExtensityAI/primality_test

R2 v1 2026-06-28T23:18:22.478Z