Number of Primes: How Computers Evaluate

  • #1
285
5
How do computers evaluate the number of primes below a given integer?
 
Mathematics news on Phys.org
  • #3
matqkks said:
How do computers evaluate the number of primes below a given integer?
This depends on so many parameters, that it can't be answered, except perhaps by the sieve of Eratosthenes, or simply by ##|\pi(x)-\operatorname{Li}(x)|<\dfrac{\sqrt{x}\ln x}{8\pi}##.

The literature has many algorithms as well as estimations for ##\pi(x)##. Just search for them.
 

Suggested for: Number of Primes: How Computers Evaluate

Replies
13
Views
369
Replies
22
Views
1K
Replies
24
Views
1K
Replies
1
Views
1K
Replies
2
Views
679
Back
Top