Elementary Proofs of Modular Ramanujan Prime Inequalities Modulo 3 and Modulo 4 (OEIS A185004–A185007)
For each modulus q ∈ {3, 4} and each reduced residue class a ∈ (ℤ/qℤ)×, let D(x) := π(x) − π(x/2) count all primes in the dyadic interval (x/2, x] and let Da(x) count the primes p ≡ a (mod q) in (x/2, x]. This note proves that Da(x) ≥ ⌊D(x)/3⌋ for every integer x ≥ 0 across all four reduced classes a ≡ 1, 2 (mod 3) and a ≡ 1, 3 (mod 4), together with the stronger bounds D(x) ≤ 3Da(x) and Da(x) ≥ x/(200 log x) for every integer x ≥ 65,536. Consequently, for every n ≥ 1, the n-th modular Ramanujan prime Rn(q,a) exists and satisfies Rn(q,a) ≤ R3n, resolving the four OEIS conjectures A185004, A185005, A185006, and A185007 of Shevelev, Moses, and Greathouse. The proof is completely elementary and avoids analytic prime-number theory for arithmetic progressions. It combines a zero-density weighted logarithmic functional over arithmetic progressions, a finite integer divisor-sum gate certificate (75 weights and 16 gates for q = 3; 98 weights and 15 gates for q = 4), a self-contained binomial-carry proof of Chebyshev's bound ψ(x) ≤ (log 4)x ≤ (7/5)x, and an exact finite sieve for 0 ≤ x < 65,536. All four theorems are formally verified in Lean 4.33.1 (oeis-a185004.lean–oeis-a185007.lean, archived in A185004_A185007_lean4_proofs.zip) using only standard axioms, and the companion exact-arithmetic Python verifier (verify.py with coefficients.json) replays every certificate and small-x check in under 0.3 seconds.
Authors
- Krystian Boruszewski
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-12-03
- DOI
- https://doi.org/10.5281/zenodo.24764085
- Primary Topic
- Analytic Number Theory Research
- Type
- preprint