![]() |
|
|
#12 |
|
Oct 2002
France
33×5 Posts |
Maybe you already know about these 2 projects:
Primaboinca that search for counterexample to some conjectures (Agrawal's Conjecture & Popovych's conjecture). I'm not a mathematician, but it seems that talk about Golbach conjecture too. ![]() Once upon a time, a boinc project project was setup for Goldbach conjecture here. But it seems the project is down now. |
|
|
|
|
|
#13 | |
|
"Ben"
Feb 2007
351710 Posts |
Quote:
[/useless_info] |
|
|
|
|
|
|
#14 | |
|
Aug 2006
3×1,993 Posts |
Quote:
|
|
|
|
|
|
|
#15 | |
|
"Forget I exist"
Jul 2009
Dumbassville
100000110000002 Posts |
Quote:
x/(x/(log(x)-1)) = how many groups of the size of the primes their should be up to x floor(x/2) = ? how many representations of x with 2 numbers there are. the hard part I have is remembering the equations needed and predicting without mass generalization ( because the numbers in the representations are of vastly different sizes at times), the numbers we can expect according to it. |
|
|
|
|
|
|
#16 |
|
Aug 2006
3·1,993 Posts |
|
|
|
|
|
|
#17 |
|
"Forget I exist"
Jul 2009
Dumbassville
20C016 Posts |
|
|
|
|
|
|
#18 | |
|
"Ben"
Feb 2007
3,517 Posts |
Quote:
![]() My code still has some obvious inefficiencies that I haven't fixed because it would be a fair amount of work, so I think I could eventually have something equivalent to his. I'm not sure it would be worth while though... it would basically be an independent double-check. Something to put on the shelf for another day. |
|
|
|
|
|
|
#19 | |
|
Dec 2010
Monticello
5×359 Posts |
Quote:
Suppose we want to hunt counterexamples near 2^64 in a tractable block of size B, say, 2^20, starting at L, for large number. Now, the high density of solutions says that a small block of primes just below L (maybe just 300 of them) can be combined with the primes from 3 to B+small to show that all the even numbers in B indeed do not have the property of being counterexamples. When we are done with the first block, the next block can be handled the same way, but a few more primes below L will be required since we are now starting with primes of size 2^20 instead of size 2 for the one addend. (Alternatively, the BEST primes to add would be those just below L+B, but you still don't need very many of them). So the claim is, you can have a sparse knowledge of the primes in or near the block of numbers your are trying to exhaust of counterexamples, and still eliminate all the non-counterexamples. This saves on finding the large prime numbers at the expense of a bit more searching among somewhat larger addends. Another approach might be to keep track of the "Q", or quality of your sieving amongst counterexample candidates. When it gets relatively poor, (measured by the number of candidates removed), it's time to look at the candidates one by one, rather than as sieve elements. Last fiddled with by Christenson on 2011-09-07 at 01:26 |
|
|
|
|
|
|
#20 | |
|
"Ben"
Feb 2007
3,517 Posts |
Quote:
Here is the sieve (snippet): Code:
// start at the beginning of the candidate range
uint64 mask_3_127 = 0x40b6894d325a65b7;
uint64 mask_131_257 = 0x90CB4108C3252619;
uint64 mask_263_383 = 0x5244B0902D021A64;
uint64 mask_389_509 = 0x2514416894C308A2;
range = 1000000000;
rl = 1000000000000000000ULL;
ru = 1000000000000000000ULL + range;
i = 1;
while (PRIMES[i] < rl)
i++;
while (PRIMES[i] < ru)
{
int bit_offset = ((PRIMES[i] - rl + 3) >> 1) & 63;
int word_num = ((PRIMES[i] - rl + 3) >> 1) >> 6;
uint64 lm = mask_3_127 << bit_offset;
uint64 hm = mask_3_127 >> (64 - bit_offset);
cflags64[word_num] |= lm;
cflags64[word_num+1] |= hm;
lm = mask_131_257 << bit_offset;
hm = mask_131_257 >> (64 - bit_offset);
cflags64[word_num+1] |= lm;
cflags64[word_num+2] |= hm;
lm = mask_263_383 << bit_offset;
hm = mask_263_383 >> (64 - bit_offset);
cflags64[word_num+2] |= lm;
cflags64[word_num+3] |= hm;
lm = mask_389_509 << bit_offset;
hm = mask_389_509 >> (64 - bit_offset);
cflags64[word_num+3] |= lm;
cflags64[word_num+4] |= hm;
i++;
}
). This goes pretty fast (0.15 second to "sieve" a range of 1 billion integers at 10^18). Generating the primes in that range is the slow part, taking about 11 seconds. Testing all of the leftover even candidates that didn't get sieved (about a 1.6% survival rate) takes another second or so.I think I can at least halve the prime generation part, which will get me pretty close to Tomas (I think, all I have to go on is one timing he gives in his webpage). I'd have to think more about your approach. |
|
|
|
|
![]() |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Goldbach Conjecture | MattcAnderson | MattcAnderson | 4 | 2021-04-04 19:21 |
| Goldbach's weak conjecture | MattcAnderson | MattcAnderson | 19 | 2017-03-21 18:17 |
| Goldbach's Conjecture | Patrick123 | Miscellaneous Math | 242 | 2011-03-15 14:28 |
| Proof of Goldbach Conjecture | vector | Miscellaneous Math | 5 | 2007-12-01 14:43 |
| Goldbach's conjecture | Citrix | Puzzles | 3 | 2005-09-09 13:58 |