20190619, 21:41  #111 
Dec 2008
you know...around...
13·43 Posts 
I'm pondering on joining, but I need a small recap on how to proceed.
Sieving via NewPGen, and then plug the output file into that Perl program in Thomas11's post #85 ? Any manual work inbetween? A small overview on the finished and reserved ranges would also help. From what I gather, k < 3.65e15 (i.e. prime twins < 21.9e15) is done, 3.65e15 < k < 4e15 is reserved by Robert 4e15 < k < ? is reserved by Thomas 9e15 < k < 9.1e15 is reserved by firejuggler Last fiddled with by mart_r on 20190619 at 21:42 Reason: grammar 
20190619, 21:59  #112 
Apr 2010
Over the rainbow
4502_{8} Posts 
no need for newpgen, the script does it by itself.
you just set the start of your range and the number of iteration, and maybe an output file and your you're done. 
20190620, 09:07  #113 
Jun 2003
Oxford, UK
3×5^{4} Posts 
Thanks for the results to you both. Here is the latest list of first instance gaps complete to 3.65e15
The smallest gap without a recorded first instance is still 3994 Last fiddled with by robert44444uk on 20190620 at 09:24 
20190620, 09:12  #114  
Jun 2003
Oxford, UK
3×5^{4} Posts 
Quote:
On the program, you probably want to set a low gap for reporting. As there is no work done to date number, the low gap can't be too high otherwise you might run a long range without a result and then get a power cut or worse still, an automatic system update from B*ll Bl**dy Gat*s If you fancy a coding challenge, you could * convert the program to a threaded version * put in a "work done to" feature * automate the count of singleton primes in between the two twin primes  the code for that is as shown below, which takes a file of results, and also checks the size of the gap Code:
!/usr/bin/env perl use warnings; use strict; use Math::GMPz; use Math::BigFloat lib=>"GMP"; use Math::Prime::Util qw/:all/; use v5.10; use List::Util qw/sum/; use File::Slurp; my @lines = read_file( 'rsres.txt' ) ; chomp (@lines); foreach (@lines) { my $smaller = $_*61; my $tprangeend = $smaller+100000; my @twins = @{twin_primes($smaller, $tprangeend)}; my $gap = $twins[1]$twins[0]; my $reportgap = $gap/6; my $bigger = $smaller+2; my $nexttwin = $twins[1]; my @primes = @{ primes( $bigger, $nexttwin ) }; my $primecount = (scalar @primes)2; say $reportgap," ", $_," ",$primecount; } Last fiddled with by robert44444uk on 20190620 at 09:30 

20190620, 12:16  #115  
Dec 2008
you know...around...
13×43 Posts 
Okay, the gap searching program works on both of my PCs. If I did the math right, I'd be capable to do about 0.2e15 k per week.
Quote:


20190620, 12:28  #116  
Jun 2003
Oxford, UK
3×5^{4} Posts 
Quote:
….. Are you working in a windows environment. then you could use the command: c:\subdirectory\program_name.pl >> output_file.txt Last fiddled with by robert44444uk on 20190620 at 12:29 

20190620, 12:49  #117 
Dec 2008
you know...around...
1057_{8} Posts 
Perfect!
So I'll take 4.5e15 to 5e15. Hoping to find some maximal gaps here, unlike during the prime gaps search 
20190622, 12:04  #118  
Dec 2008
you know...around...
13·43 Posts 
Quote:
A slight overestimation. It's only about 0.1e15 k per week. My range should be finished by early August, I hope you're not in a hurry. Also I already found a 5000+ gap: Code:
5241 4902133285097972 

20190622, 15:19  #119 
May 2018
10111100_{2} Posts 
I would like to help. How do I get the code for finding twin primes? Also, you should add your new gaps to OEIS.

20190622, 15:32  #120  
Jun 2003
Oxford, UK
3·5^{4} Posts 
Quote:
Why don't you take the role of OEIS representative? There are all sorts of interesting series generated by this group just in the last month. 

20190623, 06:12  #121 
Jun 2003
Oxford, UK
3×5^{4} Posts 
Not quite a maximal candidate, but almost certainly a first instance

Thread Tools  
Similar Threads  
Thread  Thread Starter  Forum  Replies  Last Post 
Gaps between maximal prime gaps  Bobby Jacobs  Prime Gap Searches  51  20200709 07:49 
I found a sieve to search all pairs of twin primes  Pietro Maiorana  Twin Prime Search  8  20190926 23:07 
find very easy twin prime in the infamy twin primes  hal1se  Miscellaneous Math  13  20181105 16:34 
Mersenne Primes p which are in a set of twin primes is finite?  carpetpool  Miscellaneous Math  3  20170810 13:47 
Gaps of Primes?  PawnProver44  Miscellaneous Math  10  20160410 19:32 