mersenneforum.org  

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

Reply
 
Thread Tools
Old 2010-11-16, 16:18   #1
JuanTutors
 
JuanTutors's Avatar
 
Mar 2004

22·33·5 Posts
Default Factoring/P-1 Benefit question

I was just wondering, is the cost/benefit calculation for how much factoring gets done to a Mersenne number based on the assumption that the number will be LL tested twice, or just once?
JuanTutors is offline   Reply With Quote
Old 2010-11-16, 16:30   #2
lavalamp
 
lavalamp's Avatar
 
Oct 2007
Manchester, UK

22×3×113 Posts
Default

Twice.

Normally I'd link you to the maths page on mersenne.org now, but looking up, copying and pasting links on a phone takes more than the tenth of a second it would take on a real PC. I'm sure you can find it short order anyway, it's in one of the lower down sidebar sections I believe.
lavalamp is offline   Reply With Quote
Old 2010-11-16, 16:30   #3
axn
 
axn's Avatar
 
Jun 2003

2·3·7·112 Posts
Default

Quote:
Originally Posted by dominicanpapi82 View Post
I was just wondering, is the cost/benefit calculation for how much factoring gets done to a Mersenne number based on the assumption that the number will be LL tested twice, or just once?
Twice. Actually, more like 2.032 times (small probability of triple check).

EDIT:- Probably I'm wrong about the 2.032, but I seem to recall such a figure having some significance.

Last fiddled with by axn on 2010-11-16 at 16:32
axn is offline   Reply With Quote
Old 2010-11-16, 16:46   #4
otutusaus
 
Nov 2010
Ann Arbor, MI

2·47 Posts
Default

This is the formula used (Last Updated: September 1, 2009):

factoring_cost < chance_of_finding_factor * 2 * primality_test_cost

You can find the whole explanation in the following link:
http://www.mersenne.org/various/math.php

Last fiddled with by otutusaus on 2010-11-16 at 16:47
otutusaus is offline   Reply With Quote
Old 2010-11-17, 08:34   #5
cheesehead
 
cheesehead's Avatar
 
"Richard B. Woods"
Aug 2002
Wisconsin USA

22×3×641 Posts
Default

Quote:
Originally Posted by dominicanpapi82 View Post
I was just wondering, is the cost/benefit calculation for how much factoring gets done to a Mersenne number based on the assumption that the number will be LL tested twice, or just once?
It depends on whether or not there's already been a LL test done. If the factoring is being done preliminarily to a DC, its cost is balanced against just one LL test (plus a fraction for errors).
cheesehead is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
P-1 factoring question siegert81 Math 3 2014-03-09 12:38
Factoring Question Rde Software 12 2009-06-12 22:38
question on P-1 factoring, stage 2 nngs Software 1 2006-11-15 11:07
Factoring Question AntonVrba Math 7 2006-08-30 07:15
factoring question philmoore Factoring 8 2005-06-14 22:13

All times are UTC. The time now is 17:26.


Mon Aug 2 17:26:56 UTC 2021 up 10 days, 11:55, 0 users, load averages: 2.37, 2.25, 2.24

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.