Abstract
We study the parity of the prime-counting function \(\pi (x)\), and more generally the distribution of its values in residue classes modulo \(q\). We prove that for any integer \(q\ge 2\) and \(0\le a\le q-1\), the function \(\pi (n)\) lies in the residue class \(a \pmod q\) for a positive proportion of integers \(n\ge 1\). Based on the numerical evidence, we conjecture that \(\pi (n)\) should be equidistributed among the residue classes modulo \(q\), and we prove an average version of this conjecture using the large sieve.
Similar content being viewed by others
References
Chung, P.N., Li, S.: On the residue classes of \(\pi (n)\) modulo \(t\), Integers, vol. 13 (2013)
Croot, E., Helfgott, H.A., Tao, T.: Deterministic methods to find primes. Math. Comput. 81(278), 1233–1246 (2012)
Gallagher, P.X.: The large sieve. Mathematika 14, 14–20 (1967)
Halberstam, H.H., Richert, H.-E.: Sieve methods, xiii + 364 pp. Academic Press, London (1974)
Maynard, J.: On the difference between consecutive primes, arXiv:1201.1787v3 [math.NT]
Peck, A.S.: On the difference between consecutive primes. DPhil thesis, University of Oxford (1996)
Selberg, A.: On the normal density of primes in small intervals and the difference between consecutive primes. Arch. Math. Naturvid. 47, 87–105 (1943)
Yu, G.: The difference between consecutive primes. Bull. London Math. Soc. 28, 242–248 (1996)
Acknowledgments
I would like to mention my most sincere and utter appreciation for and give thanks to Professor Youness Lamzouri, who supervised me throughout this project, and without whom this paper would have been impossible.
Author information
Authors and Affiliations
Corresponding author
Additional information
The author was supported by the Natural Sciences and Engineering Research Council of Canada Undergraduate Student Research Award.
Rights and permissions
About this article
Cite this article
Alboiu, M. On the parity of the prime-counting function and related problems. Ramanujan J 38, 179–187 (2015). https://doi.org/10.1007/s11139-014-9596-1
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s11139-014-9596-1