arXiv · 2506.09903
Algorithms for Carmichael numbers
Abstract
Our primary concern is the computational complexity of algorithms that find all Carmichael numbers less than some specified bound $B$. We have three related results. First, we show CARMICHAELS is in $\textbf{P}$, where only the run-time is conditioned on the ERH. Second, we state a heuristically optimal tabulation algorithm, which is the first asymptotic improvement to tabulation algorithms in the $50$ years since Swift first described the prime-by-prime approach. Third, we implemented a related algorithm that tabulated $100$ times further while only doing about $5$ times the work of the prior tabulation. We found $308,279,939$ Carmichael numbers less than $10^{24}$ and we provide some statistics on these numbers.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Andrew Shallue, Jonathan Webster. 2025-06-11. Algorithms for Carmichael numbers. https://arxiv.org/abs/2506.09903
Cite the original work for its findings. Save a collection to share your selection of sources.