mersenneforum.org  

Go Back   mersenneforum.org > Factoring Projects > XYYXF Project

Reply
 
Thread Tools
Old 2020-09-26, 03:12   #408
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

11×541 Posts
Default

Quote:
Originally Posted by pxp View Post
Thank you. Fortunately I had written a note to myself from the last time I ran a .cpp program.

Code:
g++ xyyx.cpp -o xyyx

xyyx.cpp:60:56: warning: format specifies type 'unsigned long long *' but the argument has type 'long *'
      [-Wformat]
         if (sscanf(ptr, "%u %llu %u (%u,%u)", &index, &leylandNumber, &length, &x, &y) != 5)
The %llu and &leylandNumber were underlined. This was followed by a very similar warning ending in !=4 and finally a third one relating to an fprintf item containing the two offending variables. In spite of the warnings the created xyyx ran to create a list.html from a list.txt.

I can probably run this every time I update my a094133.txt document and share it here. A couple of minor issues: Christ van Willegen and Jens Kruse Andersen have lost their surnames and Göran Hemdal has lost the umlauted o (I assume that it is visible in the .txt version).
Try compiling with -m64. A long is 64-bits with -m64 but only 32-bits for -m32 and I assume that the default for the compiler is -m32.

I treat the input as ASCII, so it is likely losing the umlaut in his name. I'm not certain how to fix that.

The code assumes only two portions of the name. It would be easy to fix the parsing in the code to address that.
rogue is online now   Reply With Quote
Old 2020-09-27, 00:01   #409
pxp
 
pxp's Avatar
 
Sep 2010
Weston, Ontario

179 Posts
Default

Quote:
Originally Posted by rogue View Post
Try compiling with -m64.
Yes, if only I knew how to do that. Is it really that important? What does my warnings-ignored converted document lack that a properly compiled conversion file would have?
pxp is online now   Reply With Quote
Old 2020-09-27, 03:19   #410
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

11×541 Posts
Default

Quote:
Originally Posted by pxp View Post
Yes, if only I knew how to do that. Is it really that important? What does my warnings-ignored converted document lack that a properly compiled conversion file would have?
You can change the datatype from "long" to "long long" to remove the warning that you showed.
rogue is online now   Reply With Quote
Old 2020-09-30, 18:26   #411
NorbSchneider
 
NorbSchneider's Avatar
 
"Norbert"
Jul 2014
Budapest

25·3 Posts
Default

Another new PRP:
452^50145+50145^452, 133142 digits.
NorbSchneider is offline   Reply With Quote
Old 2020-10-01, 01:59   #412
pxp
 
pxp's Avatar
 
Sep 2010
Weston, Ontario

B316 Posts
Default

Quote:
Originally Posted by pxp View Post
I have examined all Leyland numbers in the ten gaps between L(37614,265) <91148>, #1735, and L(40210,287) <98832> and found 117 new primes. That makes L(40210,287) #1862 and advances the index to L(40945,328), #1930.
I have examined all Leyland numbers in the gap between L(40945,328) <103013>, #1930, and L(41507,322) <104094> and found 14 new primes. That makes L(41507,322) #1945.
pxp is online now   Reply With Quote
Old 2020-10-09, 17:34   #413
pxp
 
pxp's Avatar
 
Sep 2010
Weston, Ontario

179 Posts
Default

I have examined all Leyland numbers in the gap between L(148999,10) <149000> and L(149999,10) <150000> and found 14 new primes.
pxp is online now   Reply With Quote
Old 2020-10-10, 07:07   #414
pxp
 
pxp's Avatar
 
Sep 2010
Weston, Ontario

179 Posts
Default

Quote:
Originally Posted by pxp View Post
That makes L(41507,322) #1945.
I have examined all Leyland numbers in the three gaps between L(41507,322) <104094>, #1945, and L(222748,3) <106278> and found 38 new primes. That makes L(222748,3) #1986.
pxp is online now   Reply With Quote
Old 2020-10-19, 12:31   #415
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

11×541 Posts
Default

29652^5083+5083^29652 is 3-PRP

This was an accidental find, in other words, unexpected. I had removed x with fewer than 50 terms from the main sieve to test separately because sieving is less efficient with x that have few terms.
rogue is online now   Reply With Quote
Old 2020-10-19, 15:03   #416
pxp
 
pxp's Avatar
 
Sep 2010
Weston, Ontario

179 Posts
Default

It's actually nice to see another name in the recents. I am still ten days away from discovering this one. Be sure to claim it on PRPTop so that they will be up-to-date.
pxp is online now   Reply With Quote
Old 2020-10-19, 19:17   #417
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

11·541 Posts
Default

Quote:
Originally Posted by pxp View Post
It's actually nice to see another name in the recents. I am still ten days away from discovering this one. Be sure to claim it on PRPTop so that they will be up-to-date.
Submitted.
rogue is online now   Reply With Quote
Old 2020-10-22, 08:51   #418
pxp
 
pxp's Avatar
 
Sep 2010
Weston, Ontario

179 Posts
Default

Quote:
Originally Posted by pxp View Post
I began to wonder if any of these L(x,10) is prime. I'm doing a run on a list that I didn't sieve particularly deeply and I can say that for x < 300000 the answer is none.
I finished that run up to 500000 and then decided to do from there to 10^6. I sieved that file to 10^12 resulting in 1309 candidates. The durations total to 293.3 days but distributed equally over 12 cores, 24.4 days. Of course I didn't have the pfgw durations when I started so I guessed at the distribution, resulting in some of the segments taking considerably longer than others. Sadly, no PRPs.
pxp is online now   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Leyland Primes: ECPP proofs Batalov XYYXF Project 16 2019-08-04 00:32
Mersenne Primes p which are in a set of twin primes is finite? carpetpool Miscellaneous Math 3 2017-08-10 13:47
Distribution of Mersenne primes before and after couples of primes found emily Math 34 2017-07-16 18:44
On Leyland Primes davar55 Puzzles 9 2016-03-15 20:55
possible primes (real primes & poss.prime products) troels munkner Miscellaneous Math 4 2006-06-02 08:35

All times are UTC. The time now is 19:43.

Mon Oct 26 19:43:44 UTC 2020 up 46 days, 16:54, 0 users, load averages: 1.83, 1.93, 1.88

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, 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.