The combinatorial algorithm for computing π(x)π(x)

preprint2015arXivOpen access

Abstract

This paper describes recent advances in the combinatorial method for computing π(x)π(x), the number of primes ≤x\leq x. In particular, the memory usage has been reduced by a factor of log⁡x\log x, and modifications for shared- and distributed-memory parallelism have been incorporated. The resulting method computes π(x)π(x) with complexity O(x2/3log−2x)O(x^{2/3}\mathrm{log}^{-2}x) in time and O(x1/3log2x)O(x^{1/3}\mathrm{log}^{2}x) in space. The algorithm has been implemented and used to compute π(10n)π(10^n) for 1≤n≤261 \leq n \leq 26 and π(2m)π(2^m) for 1≤m≤861\leq m \leq 86. The mathematics presented here is consistent with and builds on that of previous authors.

Explore this paper’s authors, topics and related work.

Building this map preview

BZPEER is loading the nearby papers, people, topics and institutions for this page.

Reviews 0

Write a reviewWrite

No reviews yet.

Discussion 0

Add a commentWrite

No comments yet.