mersenneforum.org  

Go Back   mersenneforum.org > Prime Search Projects > Conjectures 'R Us

Reply
 
Thread Tools
Old 2012-09-24, 22:06   #166
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

635210 Posts
Default

Quote:
Originally Posted by gd_barnes View Post
A new problem has popped up. I just added a prime found by Mark and removed that k for R45. There were no changes to the testing limits. It now shows up on the unproven conjectures page here with a relative difficulty of -5 and an "n per 25000" of -2.

An old problem still exists. R63 still shows a relative difiiculty and an "n per 25000" of 0.
R63 might be hard to fix because I suspect that the large number of k is behind the problem. I doubt many people are interested in working on it. As for R45, it is probably due to something in the HTML, but I won't know until I get a chance to look at it.
rogue is offline   Reply With Quote
Old 2012-09-24, 22:19   #167
gd_barnes
 
gd_barnes's Avatar
 
May 2007
Kansas; USA

101×103 Posts
Default

Quote:
Originally Posted by rogue View Post
R63 might be hard to fix because I suspect that the large number of k is behind the problem. I doubt many people are interested in working on it. As for R45, it is probably due to something in the HTML, but I won't know until I get a chance to look at it.
OK could you change it to where R63 shows a difficulty of something huge like 999999999 or 1e9? That way it will default to the bottom on a sort by difficulty. Programmatically I'm thinking that if the program can't figure out the difficulty because of too many k's, just default to some huge value like that.

I manually looked at the HTML tags for R45 and nothing looked out of the ordinary. But of course I could have missed something.

Last fiddled with by gd_barnes on 2012-09-24 at 22:21
gd_barnes is online now   Reply With Quote
Old 2012-09-25, 20:35   #168
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

143208 Posts
Default

I believe that the attached will fix the problem. The script was trimming the trailing character from the remaining k, thus sending 1009*45^n-1 to srsieve, which balked because that number is always even. It is likely that other bases have the incorrect weight/difficulty because of this. I don't think it will change those values much. I will rerun them tonight and compare the output to see what would change.

For R63, I recommend change the line for R63 in riesel_difficulty.txt to this

63,63,299255,999999999

It won't try to recompute the value unless the number of remaining k changes.
Attached Files
File Type: txt 12_proc_conjecture_pages.txt (11.6 KB, 84 views)
rogue is offline   Reply With Quote
Old 2012-09-26, 00:50   #169
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

24·397 Posts
Default

I've verified that the updated script produces more correct output. The conjectures that are incorrect are R45, R378, and R972 on the Riesel side and S46, S48, S53, S163, S171, S410, and S1017 on the Sierpinski side. Just delete the rows from those conjectures from the respective weights/difficulties files and they will be recomputed. Of course you want to do that after you updated the script.
rogue is offline   Reply With Quote
Old 2012-09-26, 06:53   #170
gd_barnes
 
gd_barnes's Avatar
 
May 2007
Kansas; USA

101·103 Posts
Default

Well, that did the trick for those bases. But I've discovered several more bases with issues:

1. R36 "n per 25000" was identical to R35 at 407265. This could not be right because R35 has 562 k's remaining and R36 has only 46 k's remaining.

2. R2 "n per 25000" is way too low for conjectures with similar #'s of k's remaining. With 57 k's remaining, the "n per 25000" is only 5573. All other Riesel conjectures with 50 to 60 k's remaining have a value of between 30000 and 65000.

3. S2 and S2 2nd conj have an "n per 25000" that is also way too low.

Thinking that your new code might have fixed the problems, I removed these bases from the riesel_ and sierpinski_difficulty.txt files. They were not in the corresponding weights files. I then waited for the hourly update. Here is what happened:

1. R36 did not calculate at all. It now has the same problem as R63 did. It has an "n per 25000" of -2.

2. R2, S2, and S2 2nd conj still calculated the same incorretly low values for "n per 25000".

To give you an idea of how far off S2 2nd conj is...with 31 k's remaining, it has a similar "n per 25000" as most bases with just 3-4 k's remaining.

I wonder if this is a similar problem as before...the k's are too large and they get truncated before being sent to srsieve. 3 of these problem bases have k's with 6 digits in them. S2 has 5-digit k's.

Last fiddled with by gd_barnes on 2012-09-26 at 06:54
gd_barnes is online now   Reply With Quote
Old 2012-09-26, 07:34   #171
gd_barnes
 
gd_barnes's Avatar
 
May 2007
Kansas; USA

101000101000112 Posts
Default

Hum. I tried removing R35 and R36 from Riesel_difficulty.txt (instead of just R36 like in the last posting). R35 recomputed correctly as it always has. But R36 this time...picked up the "n per 25000" to be the same value as R35. So now...R36 is back to where it was before.

Bottom line: R36 will not compute correctly regardless of the situation.
gd_barnes is online now   Reply With Quote
Old 2012-09-26, 13:01   #172
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

24·397 Posts
Default

I'm certain that the problem is in the script I've posted. I have seen some differences in behavior between gawk on Windows and gawk on OS X, but I don't know if that explains what you are seeing. I should have some time today to investigate further.
rogue is offline   Reply With Quote
Old 2012-09-27, 00:30   #173
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

24·397 Posts
Default

I fixed the script. It will address R36. As for R2 and S2, they appear to be correct.

Code:
srsieve 1.0.3 -- A sieve for integer sequences in n of the form k*b^n+c.
Read 57 sequences from input file `riesel2.in'.
srsieve started: 100001 <= n <= 110000, 3 <= p <= 1000000
Split 57 base 2 sequences into 89 base 2^24 subsequences.
Sieving 3 <= p <= 1000000 eliminated 565597 terms, 4403 remain.
Wrote 4403 terms for 57 sequences to srsieve format file `srsieve.out'.
srsieve stopped: at p=1000000 because --pmax was reached.
Attached Files
File Type: txt 23_build_unproven_list.txt (11.7 KB, 86 views)
rogue is offline   Reply With Quote
Old 2012-09-27, 03:33   #174
gd_barnes
 
gd_barnes's Avatar
 
May 2007
Kansas; USA

101×103 Posts
Default

Thanks Mark. That did it.

One more question: The "n per 25000" looks really high for both sides of base 2 even-n and odd-n. Could the program be sieving for all n instead? If so, programming it wouldn't be the easiest.

This may have been what mislead me into thinking that "regular" base 2 "n per 25000" was too low on both sides.
gd_barnes is online now   Reply With Quote
Old 2012-09-27, 03:56   #175
gd_barnes
 
gd_barnes's Avatar
 
May 2007
Kansas; USA

1040310 Posts
Default

Well...isn't this something: S53 has the same problem as R36 did before. R36 was picking up the "n per 25000" from R35. Of course that is now fixed. So I just now went back through and sorted by "n per 25000" looking for identical values from bases that were close together. I then saw that S53 is incorrectly picking up the same "n per 25000" as S48. So...I did the same thing as before: I deleted both S48 and S53 in the sierpinski_difficulty file, ran the script, and the "n per 25000" incorrectly stayed the same on both. I then deleted only the S53 line, ran the script, and the "n per 25000" on S53 came out as -2, the same as what happened before with R36 and telling me that there is something wrong with S53.

Bottom line: S53 has the exact same problem that R36 had before.

My coworkers used to give me programs to "break". They hated me. :-)

Last fiddled with by gd_barnes on 2012-09-27 at 03:56
gd_barnes is online now   Reply With Quote
Old 2012-09-27, 04:09   #176
gd_barnes
 
gd_barnes's Avatar
 
May 2007
Kansas; USA

28A316 Posts
Default

On the S53 problem, I just now tried deleting S52 and S53 from the difficulty file. Interestingly, S53 picked up the "n per 25000" from S52 instead of S48. It had previously gotten it's value from S48 before because you had me delete those 2 bases when fixing the original problem that started all of this. So we can conclude the following:

If a base has a problem that causes it to return an "n per 25000" of -2 when deleted from the difficulty file all by itself; if it is instead deleted in addition to another lower base above it, it will pick up the "n per 25000" from that base instead. So it appears that after each base is computed, a variable needs to be cleared out.

Edit: Further testing and review of the S53 *.in temp file confirmed that it is truncating the 4-digit k's before sending them to srsieve. It makes me wonder why this only happens on this base. There are many other bases of similar nature. In particular S53 has from 1 to 4-digit k's and truncates while R45 has from 2 to 5-digit k's but works fine.

Last fiddled with by gd_barnes on 2012-09-27 at 08:04 Reason: edit
gd_barnes is online now   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sieving for CRUS rebirther Conjectures 'R Us 638 2021-06-15 07:55
BOINC effort for CRUS gd_barnes Conjectures 'R Us 75 2015-06-17 14:25
What are your CRUS plans? rogue Conjectures 'R Us 35 2013-11-09 09:03
how high will CRUS go Mini-Geek Conjectures 'R Us 1 2010-11-08 20:50
CSVs for stats available + New combined stats opyrt Prime Sierpinski Project 3 2010-05-31 08:13

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


Tue Jul 27 10:28:21 UTC 2021 up 4 days, 4:57, 0 users, load averages: 2.60, 2.01, 1.91

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.