mersenneforum.org  

Go Back   mersenneforum.org > Fun Stuff > Puzzles

Reply
 
Thread Tools
Old 2011-12-01, 03:12   #12
Christenson
 
Christenson's Avatar
 
Dec 2010
Monticello

5·359 Posts
Default

Hey, which of you will give us numeric results for a reasonable size set of numbers, say, twin primes up to 10^6?

This would be a good "project euler" problem....
Christenson is offline   Reply With Quote
Old 2011-12-01, 03:46   #13
axn
 
axn's Avatar
 
Jun 2003

22×33×47 Posts
Default

We have a pair of primes 6n+/-1. So the three numbers are: 12n-2, 12n, and 12n+2. Working mod 12, we see that the following are the valid pairs that can sum up to these numbers.

12n-2: { (1,9), (3,7), (5,5), (7,3), (9,1), (11,11) }
12n : { (1,11), (3,9), (5,7), (7,5), (9,3), (11,1) }
12n+2: { (1,1), (3,11), (5,9), (7,7), (9,5), (11,3) }

However, the bolded pairs are also not valid, because at least one of the pairs is divisible by 3, and hence cannot be prime. So we see that the forms have 2:4:2 valid pairs. The result follows.

We can extend this to higher primes than 3. For example, if we include 5, we note that all twins must be of the form 30n+6k+/-1 where k=0,2,3. Then the three cases are:
k=0: twins are 30n+/-1: the forms are 60n-2, 60n, 60n+2: ratio 6:16:6
k=2: twins are 30n+12+/-1: the forms are 60n+22, 60n+24, 60n+26: ratio 6:12:6
k=3: twins are 30n+18+/-1: the forms are 60n+34, 60n+36, 60n+38: ratio 6:12:6
axn is offline   Reply With Quote
Old 2011-12-01, 07:31   #14
CRGreathouse
 
CRGreathouse's Avatar
 
Aug 2006

3·1,993 Posts
Default

Quote:
Originally Posted by Christenson View Post
Hey, which of you will give us numeric results for a reasonable size set of numbers, say, twin primes up to 10^6?
8169. A reasonable estimate on the number up to x is 1.32x/(log x)^2, though for such small numbers it's not all that accurate.* See
https://oeis.org/A114907
and
https://oeis.org/A007508 .

Note in particular that Tomás Oliveira e Silva calculated the number of twin primes up to 10^18 as
808675888577436
and is extending the calculation to 4 * 10^18.

* For better estimates with small numbers use the integral of 1/log^2 x rather than x/log^2 x.

Last fiddled with by CRGreathouse on 2011-12-01 at 07:35
CRGreathouse is offline   Reply With Quote
Old 2011-12-01, 07:55   #15
axn
 
axn's Avatar
 
Jun 2003

507610 Posts
Default

Quote:
Originally Posted by CRGreathouse View Post
8169. A reasonable estimate on the number up to x is 1.32x/(log x)^2, though for such small numbers it's not all that accurate.* See
https://oeis.org/A114907
and
https://oeis.org/A007508 .
I suspect he wanted to compute the statistics as per the OP _for_ the twin primes below 10^6. i.e. compute how many Goldbach representations are there for 2p, 2p+2, 2p+4 for all twin primes (p, p+2) < 10^6.
axn is offline   Reply With Quote
Old 2011-12-01, 08:36   #16
axn
 
axn's Avatar
 
Jun 2003

10011110101002 Posts
Default

For your viewing pleasure:
Code:
? default(primelimit, 10^6)
? goldbach(e)={my(c=0); forprime(p=3, e/2, c += isprime(e-p)); c}
? p1=5; forprime(p=7, default(primelimit), if(p-p1==2, write("D:\\a.txt", p1 " " goldbach(p1*2) " " goldbach(p1+p) " " goldbach(p*2))); p1=p);
? ##
  ***   last result computed in 16min, 50,060 ms.
Attached Files
File Type: zip a.zip (65.7 KB, 96 views)
axn is offline   Reply With Quote
Old 2011-12-01, 11:18   #17
Brian-E
 
Brian-E's Avatar
 
"Brian"
Jul 2007
The Netherlands

CC516 Posts
Default

Yes, it was incredibly naive of me to think that pairs of primes which sum to 2p, 2p+2, 2p+4 would be uniformly distributed. As axn explains, modular arithmetic shows the uneven occurrence of candidate pairs of which one number is divisible by 3 (and 5, and higher primes) with the 2p+2 getting twice as many of these. Thanks.

I guess anyone working on the Goldbach verification project will be well aware of this phenomenon.
Brian-E is offline   Reply With Quote
Old 2011-12-02, 14:36   #18
davar55
 
davar55's Avatar
 
May 2004
New York City

5×7×112 Posts
Default

The OP did imply the assumption of the TP Conjecture, but there was
another motivation to this "puzzle". In "a.zip", the "Goldbach numbers"
seem to increase "smoothly" over the 2p and 2q, but more raggedly
over the 2p+2. Looking for patterns is a useful pasttime, and the OPer
is interested in the possibility of finding a connection between the
TP Conjecture and the GC, in the sense of mathematical equivalence.
Empirically, for the small numbers (uo to like 10^18 ?) both conjectures
appear to be true, and (admittedly brashly) perhaps by linking the two
via statistical or analytic methods we might help solve both.
davar55 is offline   Reply With Quote
Old 2011-12-02, 21:07   #19
science_man_88
 
science_man_88's Avatar
 
"Forget I exist"
Jul 2009
Dumbassville

26·131 Posts
Default

Quote:
Originally Posted by davar55 View Post
The OP did imply the assumption of the TP Conjecture, but there was
another motivation to this "puzzle". In "a.zip", the "Goldbach numbers"
seem to increase "smoothly" over the 2p and 2q, but more raggedly
over the 2p+2. Looking for patterns is a useful pasttime, and the OPer
is interested in the possibility of finding a connection between the
TP Conjecture and the GC, in the sense of mathematical equivalence.
Empirically, for the small numbers (uo to like 10^18 ?) both conjectures
appear to be true, and (admittedly brashly) perhaps by linking the two
via statistical or analytic methods we might help solve both.
well I could tell you again that GC means every number is equidistant from 2 primes but , it doesn't say if a distance of 1 comes up infinitely often.
science_man_88 is offline   Reply With Quote
Old 2011-12-02, 23:32   #20
science_man_88
 
science_man_88's Avatar
 
"Forget I exist"
Jul 2009
Dumbassville

26·131 Posts
Default

Quote:
Originally Posted by science_man_88 View Post
well I could tell you again that GC means every number is equidistant from 2 primes but , it doesn't say if a distance of 1 comes up infinitely often.
every integer >3

Last fiddled with by science_man_88 on 2011-12-02 at 23:45
science_man_88 is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Relativistic Twins davar55 Science & Technology 68 2015-01-20 21:01
God or gold? MooooMoo Lounge 7 2007-04-13 05:35
The Treasure of the Gold Galleon edorajh Puzzles 0 2006-03-26 19:43
The Twins GP2 Lounge 1 2003-11-18 04:50
NOT twins graeme Puzzles 11 2003-09-04 00:41

All times are UTC. The time now is 10:40.


Tue Jul 27 10:40:26 UTC 2021 up 4 days, 5:09, 0 users, load averages: 1.16, 1.66, 1.80

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.