mersenneforum.org  

Go Back   mersenneforum.org > Great Internet Mersenne Prime Search > PrimeNet

Reply
 
Thread Tools
Old 2017-02-08, 19:31   #12
paulunderwood
 
paulunderwood's Avatar
 
Sep 2002
Database er0rr

3,739 Posts
Default

I think Xyzzy was referring to the status "PRP" on the mersenne.ca e.g. prp-13 -- there is nothing to show what has been proved prime.
paulunderwood is online now   Reply With Quote
Old 2017-02-09, 08:44   #13
lycorn
 
lycorn's Avatar
 
Sep 2002
Oeiras, Portugal

5C016 Posts
Default

Yes, I think so.
There are several cofactors on that page, other than PRP-13, that could trivially be proven or disproven prime, and be listed as the actual factor(s), instead of just PRP-xxx.
E.g. PRP-18 and PRP-22 for M101 and M103 respectively.
lycorn is offline   Reply With Quote
Old 2017-02-09, 09:02   #14
LaurV
Romulan Interpreter
 
LaurV's Avatar
 
Jun 2011
Thailand

7·1,373 Posts
Default

Ping James on PM, he's a busy guy, he doesn't read all threads. The "desire" is trivial to implement. He can use the full expansion where reasonable, and use Pxxx and PRPxxx where the expansion is not reasonable, to show prime or probable-prime status.

Last fiddled with by LaurV on 2017-02-09 at 09:04
LaurV is offline   Reply With Quote
Old 2017-02-11, 19:59   #15
James Heinrich
 
James Heinrich's Avatar
 
"James Heinrich"
May 2004
ex-Northern Ontario

2·13·131 Posts
Default

Quote:
Originally Posted by LaurV View Post
Ping James on PM, he's a busy guy, he doesn't read all threads. The "desire" is trivial to implement. He can use the full expansion where reasonable, and use Pxxx and PRPxxx where the expansion is not reasonable, to show prime or probable-prime status.
Thanks to GP2 who "pinged" me, the PRP page now shows "fully factored" and P-<digits> where the cofactor has been proven prime and PRP-<digits> where it has not been proven. The list of provens is maintained manually, and I'm handing it over to GP2 to maintain for me

However, I need one bit of help: to display the expansion of P-<digits> into decimal representation I suspect I should use PARI/GP to calculate it for me, but I'm ignorant of the language. Give the exponent and decimal representation of one or more known factors, how do I get the decimal representation of the last cofactor?
James Heinrich is online now   Reply With Quote
Old 2017-02-11, 20:28   #16
science_man_88
 
science_man_88's Avatar
 
"Forget I exist"
Jul 2009
Dumbassville

838410 Posts
Default

Quote:
Originally Posted by James Heinrich View Post
Thanks to GP2 who "pinged" me, the PRP page now shows "fully factored" and P-<digits> where the cofactor has been proven prime and PRP-<digits> where it has not been proven. The list of provens is maintained manually, and I'm handing it over to GP2 to maintain for me

However, I need one bit of help: to display the expansion of P-<digits> into decimal representation I suspect I should use PARI/GP to calculate it for me, but I'm ignorant of the language. Give the exponent and decimal representation of one or more known factors, how do I get the decimal representation of the last cofactor?
the naive way I think would be just to divide out the known factors from the mersenne and get what the other one is. the only other way that comes to mind is something like storing the k value for the cofactor and generating it from that but I bet that also gets inefficient quickly.
science_man_88 is offline   Reply With Quote
Old 2017-02-11, 20:33   #17
James Heinrich
 
James Heinrich's Avatar
 
"James Heinrich"
May 2004
ex-Northern Ontario

1101010011102 Posts
Default

Quote:
Originally Posted by science_man_88 View Post
the naive way I think would be just to divide out the known factors from the mersenne and get what the other one is
That's what I want to do, but am ignorant of the syntax.
James Heinrich is online now   Reply With Quote
Old 2017-02-11, 20:37   #18
science_man_88
 
science_man_88's Avatar
 
"Forget I exist"
Jul 2009
Dumbassville

26×131 Posts
Default

Quote:
Originally Posted by James Heinrich View Post
That's what I want to do, but am ignorant of the syntax.
/ is division
\ is the integer part of the division
% is mod ( that or Mod(a,b)
* is times
- subtraction
+ addition

see more in the "PARI command" thread.
science_man_88 is offline   Reply With Quote
Old 2017-02-11, 20:40   #19
James Heinrich
 
James Heinrich's Avatar
 
"James Heinrich"
May 2004
ex-Northern Ontario

65168 Posts
Default

Thanks, but can someone give me the actual command line please? If I try something like
Code:
2^97/11447
for M97 with known factor of 11447 it just spits back "158456325028528675187087900672/11447"
James Heinrich is online now   Reply With Quote
Old 2017-02-11, 20:56   #20
science_man_88
 
science_man_88's Avatar
 
"Forget I exist"
Jul 2009
Dumbassville

203008 Posts
Default

Quote:
Originally Posted by James Heinrich View Post
Thanks, but can someone give me the actual command line please? If I try something like
Code:
2^97/11447
for M97 with known factor of 11447 it just spits back "158456325028528675187087900672/11447"
that's because M97 = 2^97-1 not 2^97 if you replace / with \ you'll get the answer to the question how many times without exceeding 2^97 does this number divide ( since it divides 2^97-1 it's the same answer as (2^97-1)/11447)

Last fiddled with by science_man_88 on 2017-02-11 at 20:57
science_man_88 is offline   Reply With Quote
Old 2017-02-11, 21:04   #21
James Heinrich
 
James Heinrich's Avatar
 
"James Heinrich"
May 2004
ex-Northern Ontario

2×13×131 Posts
Default

Quote:
Originally Posted by science_man_88 View Post
that's because M97 = 2^97-1 not 2^97
Silly me.
((2^97)-1)/11447 does what I want.
James Heinrich is online now   Reply With Quote
Old 2017-02-11, 21:21   #22
James Heinrich
 
James Heinrich's Avatar
 
"James Heinrich"
May 2004
ex-Northern Ontario

2×13×131 Posts
Default

So now the PRP page will show "P-<digits>" for the last factor, if you click on it the decimal representation will be shown.
James Heinrich is online now   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Largest Mersenne Number Fully Factored? c10ck3r Data 49 2017-12-10 19:39
Exponent fully factored whilst only 74% known mattmill30 Factoring 3 2016-08-14 18:09
Possibility of a Fully-Factored Number Trejack FactorDB 7 2016-05-14 05:38
Factored vs. Completely factored aketilander Factoring 4 2012-08-08 18:09
New program to fully factor with GMP-ECM rogue GMP-ECM 51 2009-06-01 12:53

All times are UTC. The time now is 00:35.


Sat Jul 17 00:35:35 UTC 2021 up 49 days, 22:22, 1 user, load averages: 0.97, 1.07, 1.28

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.