Prime-distribution API #
This module is the stable facade over the ported PNTAnd implementation.
A medium-strength prime number theorem for Chebyshev's psi function.
A natural-number interface for the prime-counting PNT.
Equations
Instances For
Restrict the real-variable prime-counting PNT to natural arguments.
Upper bound for π: the PNT supplies a constant such that
π(x) ≤ C·x/log x uniformly for x ≥ 2. This gives the analytic
bound ≤ C·N/(a·log(N/a)) for switchingCount ≤ π(N/a)
in the three-factor main-term estimate.