mersenneforum.org  

Go Back   mersenneforum.org > Extra Stuff > Blogorrhea > enzocreti

Reply
 
Thread Tools
Old 2018-11-22, 15:34   #12
EdH
 
EdH's Avatar
 
"Ed Hall"
Dec 2009
Adirondack Mtns

11×347 Posts
Default

I see where my mistake was for those that read the original... More later.

Last fiddled with by EdH on 2018-11-22 at 15:44
EdH is offline   Reply With Quote
Old 2018-11-22, 15:46   #13
GP2
 
GP2's Avatar
 
Sep 2003

5·11·47 Posts
Default

Quote:
Originally Posted by EdH View Post
For me, I had an answer in just over two minutes with an i7 laptop. But, of course, I'm already running Primo.
If you're using a recent distro like Ubuntu 18.10, then the pari-gp package is version 2.11 and it has the primecert function. I don't think it's as efficient as Primo, but for very small numbers that doesn't matter.

Primo is a weird piece of software, and for unclear reasons.
GP2 is offline   Reply With Quote
Old 2018-11-22, 16:01   #14
EdH
 
EdH's Avatar
 
"Ed Hall"
Dec 2009
Adirondack Mtns

11·347 Posts
Default

Quote:
Originally Posted by GP2 View Post
If you're using a recent distro like Ubuntu 18.10, then the pari-gp package is version 2.11 and it has the primecert function. I don't think it's as efficient as Primo, but for very small numbers that doesn't matter.

Primo is a weird piece of software, and for unclear reasons.
Thanks! I've been procrastinating the upgrades and have been using Primo extensively through a few versions. I really should expand my knowledge base, though. Will factordb accept the primecert documents?
EdH is offline   Reply With Quote
Old 2018-11-22, 16:11   #15
EdH
 
EdH's Avatar
 
"Ed Hall"
Dec 2009
Adirondack Mtns

381710 Posts
Default

Quote:
Originally Posted by EdH View Post
I see where my mistake was for those that read the original... More later.
OK, I think I'm on the right page now and ran the correct number through Primo.
EdH is offline   Reply With Quote
Old 2018-11-22, 16:44   #16
GP2
 
GP2's Avatar
 
Sep 2003

5×11×47 Posts
Default

Quote:
Originally Posted by EdH View Post
Thanks! I've been procrastinating the upgrades and have been using Primo extensively through a few versions. I really should expand my knowledge base, though. Will factordb accept the primecert documents?
Yes, using the flag , 1) in the primecertexport command creates a Primo version 4 certificate. So it can be submitted to FactorDB, assuming that FactorDB has fixed the recent problem that prevents people from submitting certificates.

I have only used it for very small numbers. It is probably less efficient than Primo, and I don't think there's any way to interrupt and resume the function if it takes a very long time to run.
GP2 is offline   Reply With Quote
Old 2018-11-22, 17:03   #17
Batalov
 
Batalov's Avatar
 
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2

100101000001012 Posts
Talking

Quote:
Originally Posted by paulunderwood View Post
Quote:
Originally Posted by enzocreti View Post
Is it possible to say if it is actually prime?
Yes.
Isn't it nice when you joke and people laugh with you!...
...oh wait. ...they are actually laughing at you. That's probably a good sign to try to smarten up and think before you speak next time.

I know, I know, my advice is totally wasted here. (based on previous experience)
Batalov is offline   Reply With Quote
Old 2018-11-22, 17:08   #18
science_man_88
 
science_man_88's Avatar
 
"Forget I exist"
Jul 2009
Dumbassville

26·131 Posts
Default

Quote:
Originally Posted by GP2 View Post
Yes, using the flag , 1) in the primecertexport command creates a Primo version 4 certificate. So it can be submitted to FactorDB, assuming that FactorDB has fixed the recent problem that prevents people from submitting certificates.

I have only used it for very small numbers. It is probably less efficient than Primo, and I don't think there's any way to interrupt and resume the function if it takes a very long time to run.
ctrl C exits ( at last check, can't do that on my mobile version)
but alarm exists for a reason ...
iferr could be used in a user function to catch it and return to it on user input maybe ... but probably not a premade function.

Last fiddled with by science_man_88 on 2018-11-22 at 17:12
science_man_88 is offline   Reply With Quote
Old 2018-11-22, 18:01   #19
GP2
 
GP2's Avatar
 
Sep 2003

5·11·47 Posts
Default

Quote:
Originally Posted by science_man_88 View Post
ctrl C exits ( at last check, can't do that on my mobile version)
but alarm exists for a reason ...
iferr could be used in a user function to catch it and return to it on user input maybe ... but probably not a premade function.
Can it survive a reboot? It might need to if it runs for weeks. I'm only starting to learn Pari/GP.

Quote:
Originally Posted by GP2 View Post
Yes, using the flag , 1) in the primecertexport command creates a Primo version 4 certificate.
Pari/GP can create a Primo certificate and print it with the primocertexport function, but there's no "primocertimport". So I wonder if it's possible to read in an existing certificate .out file created by Primo and run the primecertisvalid function on it? That would be an independent check on the validity of certificates generated by Primo.
GP2 is offline   Reply With Quote
Old 2018-11-22, 18:09   #20
science_man_88
 
science_man_88's Avatar
 
"Forget I exist"
Jul 2009
Dumbassville

26×131 Posts
Default

Quote:
Originally Posted by GP2 View Post
Can it survive a reboot? It might need to if it runs for weeks. I'm only starting to learn Pari/GP.



Pari/GP can create a Primo certificate and print it with the primocertexport function, but there's no "primocertimport". So I wonder if it's possible to read in an existing certificate .out file created by Primo and run the primecertisvalid function on it? That would be an independent check on the validity of certificates generated by Primo.
theoretically, all you need is read() and to write the results to file you can use write() both with filenames etc.

Last fiddled with by science_man_88 on 2018-11-22 at 18:09
science_man_88 is offline   Reply With Quote
Old 2018-11-22, 18:57   #21
enzocreti
 
Mar 2018

2·5·53 Posts
Default prp

so (2^3510+183302)/3299454 is prime
and (2^3510+549908)/733212 is prime


both denominators 3299454 and 733212 are congruent to 3511 mod 7 where 3511 is the largest Wieferich prime
enzocreti is offline   Reply With Quote
Old 2018-11-22, 19:05   #22
Batalov
 
Batalov's Avatar
 
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2

36×13 Posts
Default

Quote:
Originally Posted by enzocreti View Post
3511 is the largest Wieferich prime
Proof, please!
Batalov is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
probable largest prime. sudaprime Miscellaneous Math 11 2018-02-05 08:10
Hi, how can I test my probable prime number? mohdosa Information & Answers 22 2014-10-10 11:34
Megadigit probable prime found, our third! philmoore Five or Bust - The Dual Sierpinski Problem 25 2009-09-09 06:48
Another record probable prime found! philmoore Five or Bust - The Dual Sierpinski Problem 15 2009-02-08 19:43
Record probable prime found! philmoore Five or Bust - The Dual Sierpinski Problem 18 2009-01-28 19:47

All times are UTC. The time now is 04:27.


Sat Jul 17 04:27:50 UTC 2021 up 50 days, 2:15, 1 user, load averages: 2.30, 2.31, 2.33

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.