in mathematics, the prime counting function is the function counting the number of prime numbers less than or equal to some real number "x". it is written as formula_1, but it is not related to the number π. some key values of the function include formula_2, formula_3 and formula_4.