A Structural Characterization of Primality via Fermat Decomposition: from Cryptographic Tests to Foundational Implications

Read full text Summarise with VIRAT
Authors: Manuela Doglio
Cited by: 0

Summary

No summary yet. VIRAT can read this paper and write a plain-language summary of its aim, methods, key findings and limitations.

Summarise with VIRAT Free to try with your Science Catalogs account.

Abstract

This paper proposes a unifying framework, the Three-Factor Framework (TFF), based on the decomposition of Fermat's Little Theorem, for the structural analysis of prime numbers and primality tests. Through the visual representation of Power Tables, the analysis of Quadratic Residues, and the cyclic structure of power sequences, the TFF identifies the internal configuration of primes as a positive discriminant relative to composites, rather than reducing primality to the mere negative connotation of non-divisibility. The framework also provides a complete classification of Fermat Liars into five structural categories, clarifying the mechanisms of success and failure of some FLT-based tests. Two protocols are built on the Fermat decomposition: the Summation test, a diagnostic protocol based on the sum of even powers, exhibiting computational complexity and detection capabilities equivalent to the Miller-Rabin test at cryptographic scales, and the Discriminant Cycle Test, an innovative approach combining primality verification and factorization via the cyclic structure of power sequences. The concluding section explores the foundational implications of the structural richness of primes revealed by the TFF, proposing a vision of prime numbers as entities endowed with an autonomous logical dimension not entirely reducible to the succession of natural numbers. It is hypothesised that PA's inability to distinguish numbers formed through succession from numbers formed according to external encoding schemes and thus the dissimulated coexistence of two rule systems within the same numerical set underlies the structural vulnerability that Gödel exploited to construct the undecidable proposition.Version 2 (November 2026) corrects the error-probability formula of the Summation test (Section 6.8): the exact value is ∏(gcd(N−1,p−1)−2)/φ(N), and a proposition with proof characterizes Summation liars as the Fermat liars with gcd(a²−1,N)=1. It also corrects the scope of the enhanced gcd check, which intercepts all bases of Categories B, D, E and F, and states explicitly that the Summation test has no uniform error bound (Sections 5.7 and 6.8). All numerical results, tables and figures are unchanged.Two small changes in Section 4.3: Corollary 4.8 is stated for P > 3, and a remark connects Corollary 4.6 with the first supplementary law of quadratic reciprocity.

Fields of Study & Subjects

Analytic Number Theory Research Cryptography and Residue Arithmetic Mathematical and Computational Methods

Publication details

Journal / source
Zenodo (CERN European Organization for Nuclear Research)
Publication date
1 April 2026
Language
EN
Document type
Preprint