Bayesian Test Scheduling for Mersenne Prime Candidates

We formalize Mersenne candidate testing as a Bayesian experimental-design problem. Given a pool of prime exponents P_k, proven tests with known computational costs, and an explicitly stated prior, we seek a test-ordering policy that minimizes the Expected Cost to Discovery (ECD). We prove that the Base-2 Fermat probable-prime (PRP) test is mathematically vacuous for prime exponents, and that under the No-False-Rejection Lemma, the computationally intractable Markov Decision Process (MDP) for a myopic greedy policy collapses exactly into a tractable static cost-weighted sort. We evaluate this framework out-of-sample on all 14 historical held-out gaps 16–29 (designed on gaps 1–15). Across the held-out test set, a cost-aware policy reduces the arithmetic mean ECD by 95.6% compared to a heuristic-only baseline, and incorporating an empirical smoothness prior (S4) yields a further 16.2% reduction in mean ECD over pure cost-minimization (outperforming uniform ordering on 9 of 14 gaps). The framework introduces no new algebraic filters; it strictly separates proven composite-elimination from decision-theoretic scheduling. Files included are Main.tex, compiled PDF, candidates_gaps_1_29.csv, generate_candidates_3.py, simulate_scheduler_3.py, verify_means.py, and verify_median.py.

Authors

Institutions

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-11-23
DOI
https://doi.org/10.5281/zenodo.24484610
Primary Topic
Analytic Number Theory Research
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

Bayesian Test Scheduling for Mersenne Prime Candidates

Michael Jee Shiu
Zenodo (CERN European Organization for Nuclear Research)
Analytic Number Theory Research
preprint

Bayesian Test Scheduling for Mersenne Prime Candidates

Michael Jee Shiu
preprint en

Abstract

We formalize Mersenne candidate testing as a Bayesian experimental-design problem. Given a pool of prime exponents P_k, proven tests with known computational costs, and an explicitly stated prior, we seek a test-ordering policy that minimizes the Expected Cost to Discovery (ECD). We prove that the Base-2 Fermat probable-prime (PRP) test is mathematically vacuous for prime exponents, and that under the No-False-Rejection Lemma, the computationally intractable Markov Decision Process (MDP) for a myopic greedy policy collapses exactly into a tractable static cost-weighted sort. We evaluate this framework out-of-sample on all 14 historical held-out gaps 16–29 (designed on gaps 1–15). Across the held-out test set, a cost-aware policy reduces the arithmetic mean ECD by 95.6% compared to a heuristic-only baseline, and incorporating an empirical smoothness prior (S4) yields a further 16.2% reduction in mean ECD over pure cost-minimization (outperforming uniform ordering on 9 of 14 gaps). The framework introduces no new algebraic filters; it strictly separates proven composite-elimination from decision-theoretic scheduling. Files included are Main.tex, compiled PDF, candidates_gaps_1_29.csv, generate_candidates_3.py, simulate_scheduler_3.py, verify_means.py, and verify_median.py.

Zenodo (CERN European Organization for Nuclear Research)
Stanford University (US)
Analytic Number Theory Research
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.

Laika access coming soon