The combinatorial algorithm for computing $\pi(x)$
Douglas B. Staple

TL;DR
This paper presents improved combinatorial algorithms for calculating the prime counting function π(x), reducing memory usage and enabling large-scale computations up to 10^26 and 2^86, with parallelization enhancements.
Contribution
It introduces a memory-efficient, parallelizable combinatorial method for computing π(x) with proven complexity bounds, enabling large-scale prime counting.
Findings
Memory usage reduced by factor of log x
Successfully computed π(10^n) for n up to 26
Computed π(2^m) for m up to 86
Abstract
This paper describes recent advances in the combinatorial method for computing , the number of primes . In particular, the memory usage has been reduced by a factor of , and modifications for shared- and distributed-memory parallelism have been incorporated. The resulting method computes with complexity in time and in space. The algorithm has been implemented and used to compute for and for . The mathematics presented here is consistent with and builds on that of previous authors.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAnalytic Number Theory Research · Algorithms and Data Compression · History and Theory of Mathematics
