mersenneforum.org  

Go Back   mersenneforum.org > New To GIMPS? Start Here! > Information & Answers

Reply
 
Thread Tools
Old 2011-10-16, 19:08   #12
science_man_88
 
science_man_88's Avatar
 
"Forget I exist"
Jul 2009
Dumbassville

26·131 Posts
Default

Quote:
Originally Posted by Mr. P-1 View Post
Testing with composites is a waste of time. If Mp is divisable by a composite f, then it is divisable by the prime factors of f, and these will already have been found.

We nevertheless test some composites, because testing them to see if they are composite would take longer than testing to see if they divide Mp.
so x%6==5 ||x%6==1 is longer than MP%x==0.
science_man_88 is offline   Reply With Quote
Old 2011-10-16, 20:21   #13
Mr. P-1
 
Mr. P-1's Avatar
 
Jun 2003

7×167 Posts
Default

Quote:
Originally Posted by science_man_88 View Post
so x%6==5 ||x%6==1 is longer than MP%x==0.
25%6 == 1 but 25 is not prime.

In fact prime95 does eliminate all candidates /== 1 or 5 (mod 6), and a great many other more complex congruence classes guaranteed not to be prime. The remainder, which are then tested for divisibility into Mp, are not guaranteed to be prime.
Mr. P-1 is offline   Reply With Quote
Old 2011-10-16, 20:32   #14
science_man_88
 
science_man_88's Avatar
 
"Forget I exist"
Jul 2009
Dumbassville

203008 Posts
Default

Quote:
Originally Posted by Mr. P-1 View Post
25%6 == 1 but 25 is not prime.

In fact prime95 does eliminate all candidates /== 1 or 5 (mod 6), and a great many other more complex congruence classes guaranteed not to be prime. The remainder, which are then tested for divisibility into Mp, are not guaranteed to be prime.
sorry didn't think there.
science_man_88 is offline   Reply With Quote
Old 2011-10-17, 02:40   #15
LaurV
Romulan Interpreter
 
LaurV's Avatar
 
Jun 2011
Thailand

100101100010112 Posts
Default

Quote:
Originally Posted by R.D. Silverman View Post
I suggest that you study how TF is done now. Many of the trial factors
that are tested are not even prime. Think about why that is.
There is a very good explanation in this topic (my first points of my personal crank score on this forum).
LaurV is offline   Reply With Quote
Old 2011-10-17, 02:53   #16
R.D. Silverman
 
R.D. Silverman's Avatar
 
Nov 2003

22×5×373 Posts
Default

Quote:
Originally Posted by Mr. P-1 View Post
Testing with composites is a waste of time. If Mp is divisable by a composite f, then it is divisable by the prime factors of f, and these will already have been found.

We nevertheless test some composites, because testing them to see if they are composite would take longer than testing to see if they divide Mp.
Bingo!
R.D. Silverman is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Composite P-1 factors not showing up under recently cleared exponents? ixfd64 PrimeNet 2 2018-02-28 07:54
some exponents show duplicate factors ixfd64 PrimeNet 1 2015-01-20 23:45
RDS's unique pedagogic ways R.D. Silverman Soap Box 137 2012-01-07 07:52
A unique bug probably never before seen fivemack Msieve 1 2009-08-19 19:59
Exponents Factored Vs Factors Found CCol PrimeNet 1 2008-05-21 13:32

All times are UTC. The time now is 18:09.


Fri Jul 16 18:09:53 UTC 2021 up 49 days, 15:57, 1 user, load averages: 2.34, 2.08, 1.80

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.