"Π(x)" redirects here. For the variant of the gamma function, see Gamma function § Pi function. This article uses technical mathematical notation for logarithms. All instances of log(x) without a subscript base should be interpreted as a natural logarithm, also commonly written as ln(x) or loge(x). The values of π(n) for the first 60 positive integers In mathematics, the prime-counting function is

