Skip to main content
Log in

On the parity of the prime-counting function and related problems

  • Published:
The Ramanujan Journal Aims and scope Submit manuscript

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.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Similar content being viewed by others

References

  1. Chung, P.N., Li, S.: On the residue classes of \(\pi (n)\) modulo \(t\), Integers, vol. 13 (2013)

  2. Croot, E., Helfgott, H.A., Tao, T.: Deterministic methods to find primes. Math. Comput. 81(278), 1233–1246 (2012)

    MATH  MathSciNet  Google Scholar 

  3. Gallagher, P.X.: The large sieve. Mathematika 14, 14–20 (1967)

    Article  MATH  MathSciNet  Google Scholar 

  4. Halberstam, H.H., Richert, H.-E.: Sieve methods, xiii + 364 pp. Academic Press, London (1974)

  5. Maynard, J.: On the difference between consecutive primes, arXiv:1201.1787v3 [math.NT]

  6. Peck, A.S.: On the difference between consecutive primes. DPhil thesis, University of Oxford (1996)

  7. Selberg, A.: On the normal density of primes in small intervals and the difference between consecutive primes. Arch. Math. Naturvid. 47, 87–105 (1943)

    MATH  MathSciNet  Google Scholar 

  8. Yu, G.: The difference between consecutive primes. Bull. London Math. Soc. 28, 242–248 (1996)

    Article  MATH  MathSciNet  Google Scholar 

Download references

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

Authors

Corresponding author

Correspondence to Mihai Alboiu.

Additional information

The author was supported by the Natural Sciences and Engineering Research Council of Canada Undergraduate Student Research Award.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

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

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s11139-014-9596-1

Keywords

Mathematics Subject Classification

Navigation