The Naked Scientists
  • Login
  • Register
  • Podcasts
      • The Naked Scientists
      • eLife
      • Naked Genetics
      • Naked Astronomy
      • In short
      • Naked Neuroscience
      • Ask! The Naked Scientists
      • Question of the Week
      • Archive
      • Video
      • SUBSCRIBE to our Podcasts
  • Articles
      • Science News
      • Features
      • Interviews
      • Answers to Science Questions
  • Get Naked
      • Donate
      • Do an Experiment
      • Science Forum
      • Ask a Question
  • About
      • Meet the team
      • Our Sponsors
      • Site Map
      • Contact us

User menu

  • Login
  • Register
  • Home
  • Help
  • Search
  • Tags
  • Member Map
  • Recent Topics
  • Login
  • Register
  1. Naked Science Forum
  2. General Science
  3. General Science
  4. Is Wikipedia's entry on Prime Number Theorems wrong?
« previous next »
  • Print
Pages: [1]   Go Down

Is Wikipedia's entry on Prime Number Theorems wrong?

  • 6 Replies
  • 1598 Views
  • 0 Tags

0 Members and 1 Guest are viewing this topic.

Offline talanum1 (OP)

  • Hero Member
  • *****
  • 723
  • Activity:
    1.5%
  • Thanked: 5 times
  • Naked Science Forum Newbie
    • View Profile
Is Wikipedia's entry on Prime Number Theorems wrong?
« on: 19/11/2020 17:40:08 »
At the "Prime Number Theorem" page, they say in a figure that lim_n->infinity pi(n)/li(n) = 1 and later they say li (n) - pi (n) has infinitely many sign changes.

Which is it.
« Last Edit: 20/11/2020 08:41:00 by chris »
Logged
 



Online evan_au

  • Global Moderator
  • Naked Science Forum GOD!
  • ********
  • 10415
  • Activity:
    28.5%
  • Thanked: 1254 times
    • View Profile
Re: Is Wikipedia's entry on Prime Number Theorems wrong?
« Reply #1 on: 19/11/2020 20:27:00 »
Without having calculated it myself, I can see that both can be true.

Approximation (as n→∞)
First, Wikipedia give two approximations to π(n)= "the quantity of prime numbers <n"; one approximation converges much more quickly than the other.
- The poorer approximation π(n) ≈ n/ln(n) always estimates too high (for n>100 or so)
- The better approximation π(n) ≈ ∫1/ln(t) estimates too low (for n=100 to 1,000,000), but is fairly close above that

Quote
lim_n→∞ π(n)/∫1/ln(t) = 1
The first statement is a measure of Relative Error.
It says that if you take these two very large numbers (approaching infinity), and divide one by the other, the answer approaches 1. So the Relative Error approaches 0 as n→∞.

Quote
∫1/ln(t) - π(n) has infinitely many sign changes
The second statement is a measure of Absolute Error.

Since the density of primes is very low when you get to large n, (the graph shows n up to 1024), prime numbers get very rare. The function π(n) spends most of the time unchanged as n increases. But when it hits another prime number, it will suddenly jump up by 1.

In contrast, ∫1/ln(t) always increases, even when n is not a prime. That means π(n) will sometimes be above it, and sometimes below it. And since there are an infinite number of primes, that "sometimes" is an infinite number of times.

That tells you that ∫1/ln(t) is a pretty good approximation (provided n > 1 million or so).

Perhaps more mind-bending, they also say that the maximum Absolute Error of ∫1/ln(t) grows without limit as n→∞.
- However, this Absolute Error grows much more slowly than π(n), so the Relative Error is infinitesimal.

Here is the link where this is discussed: https://en.wikipedia.org/wiki/Prime_number_theorem#Statement
Logged
 
The following users thanked this post: Halc

Offline talanum1 (OP)

  • Hero Member
  • *****
  • 723
  • Activity:
    1.5%
  • Thanked: 5 times
  • Naked Science Forum Newbie
    • View Profile
Re: Is Wikipedia's entry on Prime Number Theorems wrong?
« Reply #2 on: 20/11/2020 15:49:11 »
Can one then say that in the limit of n tending to infinity: pi (n) = li (n).

If yes then it is an easy matter proving the Riemann Hypothesis.
Logged
 

Offline Bored chemist

  • Naked Science Forum GOD!
  • *******
  • 27734
  • Activity:
    100%
  • Thanked: 933 times
    • View Profile
Re: Is Wikipedia's entry on Prime Number Theorems wrong?
« Reply #3 on: 20/11/2020 18:10:48 »
Quote from: talanum1 on 20/11/2020 15:49:11
Can one then say that in the limit of n tending to infinity: pi (n) = li (n).

If yes then it is an easy matter proving the Riemann Hypothesis.
One of the small number of bits of the page here
https://en.wikipedia.org/wiki/Prime_number_theorem
which I actually understand says
"So, the prime number theorem can also be written as π(x) ~ Li(x). ".

But I very much doubt that...
Quote from: talanum1 on 20/11/2020 15:49:11
If yes then it is an easy matter proving the Riemann Hypothesis.
Logged
Please disregard all previous signatures.
 

Online evan_au

  • Global Moderator
  • Naked Science Forum GOD!
  • ********
  • 10415
  • Activity:
    28.5%
  • Thanked: 1254 times
    • View Profile
Re: Is Wikipedia's entry on Prime Number Theorems wrong?
« Reply #4 on: 20/11/2020 21:08:34 »
Quote from: talanum1
...then it is an easy matter proving the Riemann Hypothesis
If you search that Wikipedia page for "Riemann", you will find a lot of hits, mostly around use of the Riemann Zeta function.
- So a lot of mathematicians have studied the Riemann Zeta function in depth
- The Riemann hypothesis is about the Riemann Zeta function
- But it's still not yet proven - so it's not "easy"!

You will also find a few hits where the mathematician has just assumed the Riemann Hypothesis is true in order to provide a better method. Such solutions are provisional, but probably still useful.
Logged
 



Offline Bored chemist

  • Naked Science Forum GOD!
  • *******
  • 27734
  • Activity:
    100%
  • Thanked: 933 times
    • View Profile
Re: Is Wikipedia's entry on Prime Number Theorems wrong?
« Reply #5 on: 20/11/2020 21:31:49 »
I was just judging on the basis that they don't usually offer million dollar prizes for things that are "easy".
Logged
Please disregard all previous signatures.
 

Online evan_au

  • Global Moderator
  • Naked Science Forum GOD!
  • ********
  • 10415
  • Activity:
    28.5%
  • Thanked: 1254 times
    • View Profile
Re: Is Wikipedia's entry on Prime Number Theorems wrong?
« Reply #6 on: 23/11/2020 20:53:59 »
Quote from: evan_au
Perhaps more mind-bending, they also say that the maximum Absolute Error of Li(x)=∫1/ln(t) grows without limit as x→∞.
Thinking about this some more... (and viewing the graph)...

When searching through large numbers, primes occur at (pseudo-)random intervals.
- While Li(x) is a long-term average of the expected number of primes.
- So the Absolute Error |Li(x) - π(x)| is actually a (pseudo-)random walk, which can stray large distances from 0
- If it were a true random walk, the standard deviation of absolute error would grow as √x.
- And maximum Absolute Error |Li(x) - π(x)| → ∞ as x → ∞

But this is still compatible with π(x)/Li(x)  → 1 as x → ∞
..since Relative Error (√x)/x → 0 as x → ∞ 
Logged
 



  • Print
Pages: [1]   Go Up
« previous next »
Tags:
 

Similar topics (5)

why is babies poo the "wrong" colour?

Started by paul.frBoard Physiology & Medicine

Replies: 18
Views: 16809
Last post 26/11/2018 19:04:47
by syhprum
"Simple" Rocket Science: Where have I gone wrong?

Started by harrogate22Board General Science

Replies: 2
Views: 9136
Last post 06/01/2008 16:33:26
by lyner
The Big Bang Theory has been discredited and the Red Shift theory is wrong?

Started by Joe L. OganBoard Physics, Astronomy & Cosmology

Replies: 9
Views: 10986
Last post 08/02/2010 13:54:26
by PhysBang
QotW - 13.04.25 - Why do some people "get out of bed on the wrong side"?

Started by thedocBoard Question of the Week

Replies: 1
Views: 6442
Last post 29/04/2013 13:20:07
by thedoc
Does a live human body and a dead human body have the same number of particles?

Started by Pseudoscience-is-malarkeyBoard General Science

Replies: 2
Views: 2021
Last post 20/03/2021 20:30:11
by Zer0
There was an error while thanking
Thanking...
  • SMF 2.0.15 | SMF © 2017, Simple Machines
    Privacy Policy
    SMFAds for Free Forums
  • Naked Science Forum ©

Page created in 0.082 seconds with 48 queries.

  • Podcasts
  • Articles
  • Get Naked
  • About
  • Contact us
  • Advertise
  • Privacy Policy
  • Subscribe to newsletter
  • We love feedback

Follow us

cambridge_logo_footer.png

©The Naked Scientists® 2000–2017 | The Naked Scientists® and Naked Science® are registered trademarks created by Dr Chris Smith. Information presented on this website is the opinion of the individual contributors and does not reflect the general views of the administrators, editors, moderators, sponsors, Cambridge University or the public at large.