Is Riemann's Zeta at 2 Related to Pi through Prime Numbers?

Click For Summary

Discussion Overview

The discussion explores the relationship between the Riemann Zeta function at 2, the value of Pi, and prime numbers. Participants delve into various methods of calculating Pi using primes, the connections between prime numbers and geometric concepts, and the implications of these relationships in mathematics.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • Some participants note that there are multiple methods to calculate Pi using prime numbers, though the specific methods are not detailed.
  • One participant expresses confusion about the connection between prime numbers, which are only divisible by themselves and one, and the concept of a circle.
  • Another participant mentions that every prime number is believed to appear in the decimal expansion of Pi with probability one, but questions whether this constitutes proof.
  • There is a suggestion that the decimal expansion of Pi could be viewed as a concatenation of primes, though the feasibility of this idea is debated.
  • A mathematical formula involving the product of primes is presented, which relates to the calculation of Pi, but the reasoning behind its validity is questioned.
  • Some participants discuss the density of rational numbers in the reals and how this relates to approximating real numbers, including Pi.
  • Concerns are raised about the slow convergence of certain methods for calculating Pi using primes.

Areas of Agreement / Disagreement

Participants exhibit a mix of agreement and disagreement, particularly regarding the interpretation of the relationship between primes and Pi. Some express skepticism about claims of primes appearing in Pi's decimal expansion, while others support the idea. The discussion remains unresolved on several points, particularly the validity of certain mathematical claims and methods.

Contextual Notes

Participants acknowledge the complexity of the relationships discussed, with some noting that the initial examples presented in a video contained non-prime numbers, leading to confusion. The mathematical steps and assumptions underlying the claims about Pi and primes are not fully resolved.

  • #31
Klystron said:
I am fascinated by sequences of prime numbers among integers, twin prime occurrence, intervals between Mersenne primes and related numbers. I sense or intuit a relation to π and the above series utilizing prime numbers to approximate π from studying related numeric series that converge on trigonometric identities.

Pi is ratio of circle's circumference to diameter. Trigonometric functions defined on unit circle contain π. I intuit or perhaps remember an old text that describes a relation to prime number sequences yet cannot put my finger on it. Perhaps numeric sequences approximating transcendental functions and those approximating transcendental numbers such as π resemble each other such that I am conflating series. This connection has bothered me since this thread began. Thanks.
We know that the uncountably infinite is of greater magnitude than the countably infinite, and we know that there are fewer algebraic irrationals than transcendentals, but we have not found a simple way to prove an arbitrary designatable real or imaginary number to be transcendental.

Regarding the special case of the transcendental number ##\pi##, Euler showed that ##\frac π 4 = \frac 3 4 \cdot \frac 5 4 \cdot \frac 7 8 \cdot \frac {11} {12} \cdot \frac {13} {12} \cdots## with the numerators being the odd primes (and the denominators being the nearest thereto multiples of 4) ##\dots##

Using e.g. the Sieve of Eratosthenes to find the odd primes to obtain that series to produce digits of ##\pi## is not as fast as using the more rapidly converging Gauss-Legendre Algorithm, but that algorithm is a core-hog (i.e. requires much memory) ##-## as you know, CPU time vs memory is a frequently-occurring trade-off. :wink:
 
Last edited:
  • Like
Likes   Reactions: Klystron
Mathematics news on Phys.org
  • #32
I had deleted my post, fearing I was off-topic but @sysprog ties it in nicely. :smile:

Klystron said:
I am fascinated by sequences of prime numbers among integers, twin prime occurrence, intervals between Mersenne primes and related numbers. I sense or intuit a relation to π and the above series utilizing prime numbers to approximate π from studying related numeric series that converge on trigonometric identities.

Pi is ratio of circle's circumference to diameter. Trigonometric functions defined on unit circle contain π. I intuit or perhaps remember an old text that describes a relation to prime number sequences yet cannot put my finger on it. Perhaps numeric sequences approximating transcendental functions and those approximating transcendental numbers such as π resemble each other such that I am conflating series. This connection has bothered me since this thread began. Thanks.
 
  • #33
Pi Day was a couple of weeks ago so this conversation is a bit late really. For those that missed the fun, Chris Caldwell's Prime Pages are a great year-round resource e.g. here's a nice big prime.
 
  • #34
IIRC, the series described in the OP comes from a Fourier series.

And this year's ##\sqrt 10 ## square root of 10 day; 3.1622 was a much better approximation than any ##\pi ## day
Edit

You use the Fourier series for f(x)=x in ##[ \pi, \pi) ##, when combined with Parseval's identity, comes down to:

## \Sigma_{n=1}^{\infty} \frac {2(-1)^{n+1}}{n} sin(nx) ##

##\frac{1}{\pi} \int_{-\pi}^{\pi} f(x)^2 dx = \Sigma _{n=1}^{\infty} \frac {4}{n^2}##; still for f(x)=x on

##[-\pi, \pi)##
 
Last edited:
  • Informative
Likes   Reactions: Klystron
  • #35
Another interesting connection is that between ##\pi## and the Normal Distribution. Just how does ##\pi## pop up in its density function?
 
  • #36
The ##\sqrt{2\pi\sigma ^2}## is a normalising factor.
 
  • #37
nuuskur said:
The ##\sqrt{2\pi\sigma ^2}## is a normalising factor.
But why does ##\pi## appear there to start with?
 
  • #39
WWGD said:
But why does ##\pi## appear there to start with?
You are effectively asking, why
<br /> \int _{\mathbb R} \exp \left (-t^2\right )\mathrm{d}t = \sqrt{\pi}<br />
is true. It is proved. If you start looking for reasons why this equality holds and relate it to ##\pi## somehow, you are endangered by confirmation bias.

Similarly, there is no call for esoterics between ##\pi## and the prime numbers. Just because some equality holds that contains said quantities does not imply there has to be some "deep" connection "intertwining" them. The fancy lingo is impressive, isn't it?

The following is as uncharitable as I can be at this hour.

Take any conditionally convergent series. Then there exists a rearrangement that converges to ##\pi##. Now find a foundational discovery in the fabric of space time continuum that makes this happen (or at least insist that there exists one).
 
Last edited:
  • Like
Likes   Reactions: bland
  • #40
nuuskur said:
You are effectively asking, why
<br /> \int _{\mathbb R} \exp \left (-t^2\right )\mathrm{d}t = \sqrt{\pi}<br />
is true. It is proved. If you start looking for reasons why this equality holds and relate it to ##\pi## somehow, you are endangered by confirmation bias.

Similarly, there is no call for esoterics between ##\pi## and the prime numbers. Just because some equality holds that contains said quantities does not imply there has to be some "deep" connection "intertwining" them. The fancy lingo is impressive, isn't it?

Take any conditionally convergent series. Then there exists a rearrangement that converges to ##\pi##. Now find a foundational discovery in the fabric of space time continuum that makes this happen.
Well, it's not clear whether there is a connection or not. Naively, you'd expect to find it in connection with settings related to circles. But there are coincidences as well.
 
  • Like
Likes   Reactions: nuuskur
  • #41
Indeed, the connection to circles is an example of potential confirmation bias. That in theory ##\pi## appears in circles and geometry does not imply that ##\pi## is exclusively about circles. Of course, it would be nice if there was some pretty (and consistent) explanation -- maybe there is! But we can't assume a priori there exists one.
 
Last edited:
  • Like
Likes   Reactions: WWGD
  • #42
I'm not sure it's confirmation bias. Finding the integral requires squaring it and transforming to polar coordinates.
$$\left(\int_{-\infty}^{\infty}{e^{-x^2}\ dx}\right)^2=\int_{-\infty}^{\infty} \int_{-\infty}^{\infty} e^{-\left(x^2+y^2\right)}\ dx\ dy=\int_{0}^{2\pi} \int_{0}^{\infty} e^{-r^2}r\ dr \ d\theta$$
To be absolutely rigorous, you have to treat the improper integrals correctly, since the Cartesian integral is over a square and the polar integral is over a circle. In practice, this involves comparing the integral over the square with the integrals over its incircle and circumcircle, and using the squeeze theorem in the limit that the size of the square goes to infinity. So circles are in fact involved directly in the proof.
 
  • Like
Likes   Reactions: malawi_glenn, dextercioby, Klystron and 1 other person
  • #43
I'm having a hard time finding a derivation of the series in OP. I would think it would converge to ##\frac{4}{\pi}## instead of ##\frac{2}{\pi}##. Maybe someone can spot my math error.

I started with the Leibniz formula:
$$\frac{\pi}{4}=1-\frac{1}{3}+\frac{1}{5}-\frac{1}{7}+\frac{1}{9}-\cdots$$
Multiplying both sides by ##\frac{1}{3}## and subtracting the result from the original series gives the series with all the multiples of 3 missing:
$$\left(1-\frac{1}{3}\right)\frac{\pi}{4}=1+\frac{1}{5}-\frac{1}{7}-\frac{1}{11}+\cdots$$
Repeating the process with ##-\frac{1}{5}## gives the series with all the remaining multiples of 5 missing:
$$\left(1+\frac{1}{5}\right)\left(1-\frac{1}{3}\right)\frac{\pi}{4}=1-\frac{1}{7}-\frac{1}{11}+\cdots$$
Continuing ad infinitum gives:
$$\frac{\pi}{4}\prod_{p\equiv3\ mod\ 4}{\left(1-p^{-1}\right)}\prod_{p\equiv1\ mod\ 4}{\left(1+p^{-1}\right)}=1$$
and multiplying both sides by ##\frac{4}{\pi}## would give me the series, except there's a factor of 2 that I've picked up somewhere.

Any thoughts?
Edit: a few sign errors
 
Last edited:
  • Like
Likes   Reactions: DrClaude
  • #44
BTW, if the derivation of the series does in fact ultimately come from the Leibniz formula, that itself is related to circles through the arctangent function, in that
$$\frac{\pi}{4}=1-\frac{1}{3}+\frac{1}{5}-\frac{1}{7}+\frac{1}{9}-\cdots$$
is simply the Taylor series expansion of ##\arctan(1)##.
 
  • Like
Likes   Reactions: malawi_glenn, dextercioby, Klystron and 2 others
  • #45
TeethWhitener said:
I'm having a hard time finding a derivation of the series in OP.
Which one?

TeethWhitener said:
$$\frac{\pi}{4}\prod_{p\equiv3\ mod\ 4}{\left(1-p^{-1}\right)}\prod_{p\equiv1\ mod\ 4}{\left(1+p^{-1}\right)}=1$$
That looks right, it's sometimes called Euler's formula (no, not that one :-p).
 
  • #46
pbuk said:
That looks right, it's sometimes called Euler's formula (no, not that one :-p).
Actually, @TeethWhitener's formula has the prime modulos reversed.
 
  • Like
Likes   Reactions: pbuk, TeethWhitener and nuuskur
  • #47
TeethWhitener said:
I started with the Leibniz formula:
$$\frac{\pi}{4}=1-\frac{1}{3}+\frac{1}{5}-\frac{1}{7}+\frac{1}{9}-\cdots$$
Multiplying both sides by ##\frac{1}{3}## and subtracting the result from the original
This part.
Oop, DrClaude beat me to it.
 
  • Like
Likes   Reactions: TeethWhitener and DrClaude
  • #48
pbuk said:
Which one?That looks right, it's sometimes called Euler's formula (no, not that one :-p).
I figured the derivation might look a lot like Euler's derivation of the Riemann zeta function, but I'm not a mathematician, so apologies for lack of rigor.
 
  • #49
TeethWhitener said:
I'm not sure it's confirmation bias. Finding the integral requires squaring it and transforming to polar coordinates.
$$\left(\int_{-\infty}^{\infty}{e^{-x^2}\ dx}\right)^2=\int_{-\infty}^{\infty} \int_{-\infty}^{\infty} e^{-\left(x^2+y^2\right)}\ dx\ dy=\int_{0}^{2\pi} \int_{0}^{\infty} e^{-r^2}r\ dr \ d\theta$$
To be absolutely rigorous, you have to treat the improper integrals correctly, since the Cartesian integral is over a square and the polar integral is over a circle. In practice, this involves comparing the integral over the square with the integrals over its incircle and circumcircle, and using the squeeze theorem in the limit that the size of the square goes to infinity. So circles are in fact involved directly in the proof.
I don't know if it really actually requires it. There may be other ways of finding the integral ( though none I am aware of) that doesn't use polar coordinates. But, once you've chosen the method you describe, then, yes.
 
  • #50
nuuskur said:
Indeed, the connection to circles is an example of potential confirmation bias. That in theory ##\pi## appears in circles and geometry does not imply that ##\pi## is exclusively about circles. Of course, it would be nice if there was some pretty (and consistent) explanation -- maybe there is! But we can't assume a priori there exists one.
I agree, but not fully convinced by your argument. If ##\pi## had been derived by manipulating a conditionally-convergent series, then yes, you have a point, but in this case, AFAIK, it had not come about that way.
 
  • Like
Likes   Reactions: Klystron and nuuskur
  • #51
Another fascinating relationship is to do with points generated by repeated multiplication and modulus plotted around a circle.



These are sequences generated based on number theoretic phenomena that is related to primality and divisibility. And they form the same patterns you get if you roll circles around other circles. Which also happen to be the shapes of magnetic fields in microphones, and a basis for forming Fibonacci spirals, and the shape of the Mandelbrot fractal.
 
  • #52
In #11 PeroK mentions finite series,

as someone who has rudimentary maths & is recovering from a brain injury ,
I'm assuming these series converge to some value , π in the instance the OP
alluded to.

Infinite Series are treated in some other way [ eg 12x +1 which contains all the
primes of the form 6x +1 ] ?
 
  • #53
Janosh89 said:
In #11 PeroK mentions finite series,
I mentioned finite sequences. A sequence is a list of numbers; a series is a sum. That's the formal mathematical usage of those terms.
Janosh89 said:
I'm assuming these series converge to some value , π in the instance the OP
alluded to.
All finite series have a finite sum. It's only infinite series where we need to talk about convergence or divergence.
Janosh89 said:
Infinite Series are treated in some other way [ eg 12x +1 which contains all the
primes of the form 6x +1 ] ?
I don't know what you mean here.
 
  • #54
Please take down my post if it does not contribute to the thread
 
  • #55
I might repeat what is already said but one has of course

$$\prod_{p\; prime}\frac1{1-p^{-2}} = \frac{\pi^2}{6}$$

which also proves that there are infinitely many prime numbers. Otherwise the left side is a rational number.
 
  • Like
  • Love
Likes   Reactions: DrClaude, WWGD, dextercioby and 1 other person
  • #56
martinbn said:
I might repeat what is already said but one has of course

$$\prod_{p\; prime}\frac1{1-p^{-2}} = \frac{\pi^2}{6}$$

which also proves that there are infinitely many prime numbers. Otherwise the left side is a rational number.
Can you point to a proof of that?
 
  • #58
## \prod_{p \ prime}{} \frac{p^{2}+1}{p^{2}-1} = \frac{5}{2} ##
## \prod_{p \ prime}{} \frac{p^{4}+1}{p^{4}-1} = \frac{7}{6} ##
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
7
Views
4K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K