The Formula for K-th Twin Prime - Is There One?

  • Context: Graduate 
  • Thread starter Thread starter lokofer
  • Start date Start date
  • Tags Tags
    Prime
Click For Summary

Discussion Overview

The discussion revolves around the existence of a formula for the k-th twin prime, exploring whether such a formula can be derived similarly to those for normal primes. Participants examine the implications of having a formula for twin primes, its relationship to the twin prime conjecture, and the challenges in formulating such an expression.

Discussion Character

  • Debate/contested
  • Technical explanation
  • Mathematical reasoning

Main Points Raised

  • Some participants question why a formula exists for the k-th normal prime but not for the k-th twin prime, suggesting that the congruence relations for twin primes might also allow for a similar formula.
  • Others argue that if a formula for the k-th twin prime existed, it would imply the existence of infinitely many twin primes, which is still an open question.
  • One participant mentions that while elementary-looking sums for counting twin primes can be constructed, they may not be practically useful or effective.
  • There is a discussion about the necessary conditions for a formula to be valid, with some suggesting that known results about normal primes may not directly apply to twin primes.
  • Participants propose that an algorithm could generate twin prime pairs, but question the feasibility of deriving a meaningful mathematical expression for them.
  • One contribution introduces a complex integral expression related to twin primes, suggesting that if the twin prime conjecture were false, it might lead to a clearer mathematical formulation.

Areas of Agreement / Disagreement

Participants do not reach a consensus on the existence of a formula for the k-th twin prime. Multiple competing views are presented regarding the implications of such a formula and the challenges in deriving one.

Contextual Notes

Participants express uncertainty about the sufficiency of certain conditions for proving the existence of twin primes and the limitations of current mathematical knowledge regarding twin primes compared to normal primes.

lokofer
Messages
104
Reaction score
0
k-th "Twin prime"...

Is not there a formula for the k-th "twin prime" ?..as far as i know for the normal primes satisfying "Wilson's theorem":

[tex](p-1)!+1=mod(p)[/tex] you can get an "exact" (but difficul to compute) formula in the form:

[tex]p_k = \sum_{n=2}^{2^{k}}(\frac{k}{1+\pi(n)})^{1/n}[/tex] or similar..

But Why is not there this formula for the "twin primes" ? in fact they also satisfy a congruence...
 
Physics news on Phys.org
If there were a formula for the "nth twin prime" then there would be a proof that there exist an infinite number of twin primes wouldn't there?
 
- The question is "hallsoftivy" why you can get a formula for the k-th "normal" prime (see mathworld) from the "congruence" equation but you can't get a similar one for the k-th "twin" prime...:confused:
 
lokofer said:
- The question is "hallsoftivy" why you can get a formula for the k-th "normal" prime (see mathworld) from the "congruence" equation but you can't get a similar one for the k-th "twin" prime...:confused:

HallsofIvy was just showing that a solution to your problem would be a solution to a major unsolved problem, and as such
1. It's unsolved
2. It's hard.
 
What he's asking for wouldn't necessarily solve the twin prime problem. It's not hard to come up with an elementary looking sum (or rather a sum using only elementary functions) for the counting function of the twin primes, but it's not something that you can work with at all effectively.


You might want to take a moment and prove that the expression you have there for the kth prime works. What known facts about the primes are necessary? Are analagous results known for twin primes?
 
- By the way as it happens with "normal" primes... the set of twin primes satisfy a congruence:

[tex]4((m-1)!+1)+m=0 mod (m(m+2))[/tex]

EDIT: If I'm not wrong the "twin prme number function " using the expression above is:

[tex]\pi_{2} (n)= A+ \sum_{k=2}^{n}[cos^{2}(\pi)([\frac{ 4((k-1)!+1)+k}{k(k+2)}]- \frac{4((k-1)!+1)+k}{k(k+2)})][/tex]

[x]=floor function.
 
Last edited:
shmoe said:
What he's asking for wouldn't necessarily solve the twin prime problem. It's not hard to come up with an elementary looking sum (or rather a sum using only elementary functions) for the counting function of the twin primes, but it's not something that you can work with at all effectively.

How would that not prove the twin prime conjecture? If there was a formula for the kth twin prime there must be infinitely many, right? Even if the formula is computationally worthless if it's valid it would be enough.

Now a n&s condition wouldn't be enough, of course; I presume that's what jose claims this formula is. (It's clearly necessary, but I can't quite prove to myself that it's sufficient -- could there be other roots getting involved? It seems to work just fine, though.)
 
lokofer said:
- The question is "hallsoftivy" why you can get a formula for the k-th "normal" prime (see mathworld) from the "congruence" equation but you can't get a similar one for the k-th "twin" prime...:confused:
Precisely which formula are you talking about. There are several, none of which can be written in "closed" form. For that matter- "mark off each prime while counting until you reach k. The number you just marked off is the kth prime" is a perfectly valid formula. Of course, that assumes that there is a "kth" prime.

In order to have a similar or any formula for the "kth twin prime", you would have to first know that there is always a "kth twin prime". In other words, that there are an infinite number of twin primes.
 
CRGreathouse said:
How would that not prove the twin prime conjecture? If there was a formula for the kth twin prime there must be infinitely many, right? Even if the formula is computationally worthless if it's valid it would be enough.

I'm saying that you can't make any claims about something that you don't even have. Of course if you have any function that outputs a strictly increasing infinite sequence of twin primes then you'd be done. Maybe I'm being too liberal in what I'd consider a formula for twin primes.

CRGreathouse said:
Now a n&s condition wouldn't be enough, of course; I presume that's what jose claims this formula is. (It's clearly necessary, but I can't quite prove to myself that it's sufficient -- could there be other roots getting involved? It seems to work just fine, though.)

the wilson's theroem like mod condition he gave is necessary and sufficient, attributed to Clement, and not too difficult to prove.
 
  • #10
lokofer said:
EDIT: If I'm not wrong the "twin prme number function " using the expression above is:

[tex]\pi_{2} (n)= A+ \sum_{k=2}^{n}[cos^{2}(\pi)([\frac{ 4((k-1)!+1)+k}{k(k+2)}]- \frac{4((k-1)!+1)+k}{k(k+2)})][/tex]

[x]=floor function.

The function you posted looks right to me and bears out experimentation, and shmoe says it's by Clement and true.

The expression you posted for finding the n-th twin prime isn't right as written -- what did you mean to take the cosine of? What's A? Maybe once you change this we can test it. I look forward to that.
 
Last edited:
  • #11
- Sorry to all "forumers" posting here the expression was:

[tex]\pi_2 (n)=-1+\sum_{k=2}^{n}[Cos^{2}\pi[\frac{4((k-1)!+1)+k}{k(k+2)}]][/tex]

the problem is to "invert" this function to obtain the "latest" (if exist) "twin prime"..is clearer now? A=-1 (constant) and [x], (x)! are the floor function and the factorial...

- For the case of "normal primes" they managed to get an expression involving: [tex]| \frac{n}{1+\pi (k)} |^{1/n}[/tex] (inside a sum ) to get the p(n) prime but can the same be made for "twin primes"?
 
Last edited:
  • #12
lokofer said:
- For the case of "normal primes" they managed to get an expression involving: [tex]| \frac{n}{1+\pi (k)} |^{1/n}[/tex] (inside a sum ) to get the p(n) prime but can the same be made for "twin primes"?

Have you tried to prove this sum gets the k-th prime as I suggested before? Not because I don't believe it's true, but because you will learn something about what known facts about the primes were needed in the proof. Then ask why the same thing won't work with the current knowledge of twin primes.
 
  • #13
We can build an algorithm that outputs the kth pair of twin primes, so why not a mathematical expression? I think there ought to be a mathematical expression that outputs the kth pair of twin primes, though it would be meaningless because it's not going to tell us anything new. For example, we wouldn't know if a kth pair of twin primes exists, so the math function could just go on forever, searching in vain.
 
  • #14
If we had that "twin prime " theorem fails then, we could amazingly find an exact expression as a "Eigenfunction expansion" let be the integral:

[tex]\frac{logZ(s)}{s}-\frac{Kh(s)}{1}=\int_{a}^{\infty}dt \frac{E_{2}(t)-K}{e^{st}-1}[/tex] [tex]E_{2}(t)=\pi_{2}(e^{t})[/tex] where a=ln(2)=0.69314718..

With [tex]Z(s)=\prod_{p,p+2}(1-p^{-s})^{-1}[/tex] product extended to all "twin primes" ) and [tex]h(s)=\int_{a}^{\infty}dt (exp(st)-1)^{-1}[/tex] [tex]E_{2} (p_{k})=K[/tex] where "p_k" would be the "last" twin prime.

Then the function [tex]\pi_{2} (t)-K[/tex] would be on L^2 (a,oo) space, and the Kernel inside the Integral equation is symmetric hence we could obtain a set of orthonormal eigenfunctions and real eigenvalues for K(s,t) the "solution" for the density of "twin primes" (if there are just a finite number of them is)

[tex]E_{2} (t)-K= \sum_{n} \lambda _{n} C_{n} \phi_{n} (t)[/tex]

and [tex]C_{n} = (\frac{logZ(s)}{s}-\frac{Kh(s)}{1}, \phi_{n} )[/tex] scalar product.

Of course from this you could "obtain" Brunn's constant in the form:

[tex]\sum_{n}^{\infty} \lambda _{n}C(n)d(n)= B_{2}[/tex]

B2=1.902160583104..

Of course unless "twin prime" is correct and the sum above does not converge to Brun's constant [tex]d(n)= (exp(-x), \phi_{n} (x) )[/tex]

EDIT: I have corrected the "wrong" terms..hope now it's understandable.
 
Last edited:

Similar threads

  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 21 ·
Replies
21
Views
2K
  • · Replies 17 ·
Replies
17
Views
2K
Replies
17
Views
3K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
2
Views
3K
  • · Replies 14 ·
Replies
14
Views
6K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 0 ·
Replies
0
Views
2K