The Valence Layer Algorithm: A Structured Approach to Consecutive Prime Search and Its Implications for the Riemann Hypothesis
This paper presents the Valence Layer Algorithm, a deterministic and efficient method for finding the next prime number from a given prime. The algorithm uses a fixed toolset of even numbers (valences) to decompose the gap between consecutive primes, ensuring rapid convergence and scalability to arbitrarily large numbers. Key contributions: A greedy decomposition algorithm for prime gaps using a toolbox of even numbers: {120, 64, 34, 20, 10, 6, 4, 2}. Proof of completeness: since 2 is in the toolbox, every even gap can be decomposed. The Cardinality Rule: the number of tools used is always ≤ G/2. Numerical validation for primes near 10¹², showing all gaps are exactly decomposable. A connection between the even/odd symmetry of prime gaps and the Riemann Hypothesis via maximum entropy (p = 0.5). A complete Fortran implementation (Miller–Rabin deterministic primality test, 64/128-bit arithmetic, command-line interface). The algorithm is deterministic, scalable, and provides a conceptual bridge between elementary arithmetic and analytic number theory.
Authors
- Andre Gualberto (ORCID: https://orcid.org/0009-0002-4019-3372)
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-07-16
- DOI
- https://doi.org/10.5281/zenodo.21397224
- Primary Topic
- Analytic Number Theory Research
- Type
- article
- Field-Weighted Citation Impact
- 0.00