mersenneforum.org  

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

Reply
 
Thread Tools
Old 2007-01-22, 21:32   #34
geoff
 
geoff's Avatar
 
Mar 2003
New Zealand

13×89 Posts
Default

Quote:
Originally Posted by Citrix View Post
Geoff, For sieving 3^16 from n=1M to 2M, what version of the program should I use? Is srsieve2.exe faster, or could your write specific code for this series.
I don't know whether srsieve or sr2sieve is faster currently. I can probably speed things up for sieveing just one sequence at a time by using the tricks from 321sieve. Do you want to just sieve the n which are multiples of 16, or the multiples of 8 too?

Quote:
Any progress on implementing SPH for 1 k. May be it could be implemented for some of the low primes for factorization of p-1. Say less than 32?
No, I don't really understand the SPH algorithm well enough. I suspect that some of the ideas I have used to weed out candidates based on whether they are cubic or higher power residues may in fact already do a part of what the SPH algorithm would do [Testing for 3,5,8-th power residues implicitly uses the factors of gcd(3*5*8,p-1)]. I also suspect that the range of n being tested needs to be quite large to get best advantage from the SPH algorithm, but I am not sure.
geoff is offline   Reply With Quote
Old 2007-01-22, 23:21   #35
Citrix
 
Citrix's Avatar
 
Jun 2003

2·7·113 Posts
Default

Quote:
Originally Posted by geoff View Post
I don't know whether srsieve or sr2sieve is faster currently. I can probably speed things up for sieveing just one sequence at a time by using the tricks from 321sieve. Do you want to just sieve the n which are multiples of 16, or the multiples of 8 too?


No, I don't really understand the SPH algorithm well enough. I suspect that some of the ideas I have used to weed out candidates based on whether they are cubic or higher power residues may in fact already do a part of what the SPH algorithm would do [Testing for 3,5,8-th power residues implicitly uses the factors of gcd(3*5*8,p-1)]. I also suspect that the range of n being tested needs to be quite large to get best advantage from the SPH algorithm, but I am not sure.
I was thinking multiples of 16 only for right now. If you have any questions about the SPH let me know.
Citrix is offline   Reply With Quote
Old 2007-01-23, 23:17   #36
geoff
 
geoff's Avatar
 
Mar 2003
New Zealand

13·89 Posts
Default

Quote:
Originally Posted by Citrix View Post
I was thinking multiples of 16 only for right now.
I have compiled a sieve for k=3^16 here. Srsieve is faster below p=2^32 (for 32-bit machines), 3_16sieve should be about 10% faster above p=2^32.

Quote:
If you have any questions about the SPH let me know.
How about pseudo code? :-)
geoff is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
New Fermat factors philmoore FermatSearch 335 2021-03-18 11:41
Special Form of Mersenne and Fermat Number Factors michael Math 31 2015-09-04 05:57
Number 59649589127497217 is a factor of Fermat number F7 literka Miscellaneous Math 73 2013-11-17 10:33
Fermat number F6=18446744073709551617 is a composite number. Proof. literka Factoring 5 2012-01-30 12:28
Weighted Fermat factors Top 20 Merfighters Factoring 0 2010-04-13 14:16

All times are UTC. The time now is 14:45.


Mon Aug 2 14:45:40 UTC 2021 up 10 days, 9:14, 0 users, load averages: 3.51, 3.86, 3.87

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.