Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Prime-counting function
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{short description|Function representing the number of primes less than or equal to a given number}} {{Redirect|Ξ (x)|the variant of the gamma function|Gamma function#Pi function}} {{log(x)}} {{Duplication|dupe=Prime number theorem|discuss=Talk:Prime number theorem#Too much duplication in Prime number theorem and Prime-counting function|date=December 2024}} [[Image:PrimePi.svg|thumb|right|400px|The values of {{math|''Ο''(''n'')}} for the first 60 positive integers]] In [[mathematics]], the '''prime-counting function''' is the [[Function (mathematics)|function]] counting the number of [[prime number]]s less than or equal to some [[real number]] {{mvar|x}}.<ref name="Bach">{{cite book |first=Eric |last=Bach |author2=Shallit, Jeffrey |year=1996 |title=Algorithmic Number Theory |publisher=MIT Press |isbn=0-262-02405-5 |pages=volume 1 page 234 section 8.8 |no-pp=true}}</ref><ref name="mathworld_pcf">{{MathWorld |title=Prime Counting Function |urlname=PrimeCountingFunction}}</ref> It is denoted by {{math|''Ο''(''x'')}} (unrelated to the [[pi|number {{pi}}]]). A symmetric variant seen sometimes is {{math|''Ο''<sub>0</sub>(''x'')}}, which is equal to {{math|''Ο''(''x'') β {{frac|1|2}}}} if {{mvar|x}} is exactly a prime number, and equal to {{math|''Ο''(''x'')}} otherwise. That is, the number of prime numbers less than {{mvar|x}}, plus half if {{mvar|x}} equals a prime.
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)