![]() |
|
|
#1 |
|
Mar 2004
22×33×5 Posts |
I assume we know that we can test for LL test cycles pretty easily. Instead of checking for repeated residue, we can store the units digit of the residue after each cycle in ram or on hard drive, and periodically check for repeating digits in this string in less than 1 second, and then verifying a true cycle exists by running a number of steps equal to the cycle length. Is the reason we don't do that that the probability is so low from what we can tell?
|
|
|
|
|
|
#2 |
|
Jun 2003
13DA16 Posts |
|
|
|
|
|
|
#3 |
|
Mar 2004
22·33·5 Posts |
|
|
|
|
|
|
#4 | |
|
"TF79LL86GIMPS96gpu17"
Mar 2017
US midwest
2×32×7×43 Posts |
Quote:
See https://www.mersenneforum.org/showpo...1&postcount=10 |
|
|
|
|
|
|
#5 | |
|
Mar 2004
10000111002 Posts |
Quote:
|
|
|
|
|
|
|
#6 |
|
Romulan Interpreter
Jun 2011
Thailand
965310 Posts |
Do you mean like 330 times slower than the LL test itself is done?
![]() (Think about the fact that each iteration takes, say, 3 milliseconds, in an average processor, for an average exponent.) Joking apart, and from mathematical point of view, the length of a cycle would be closely related to the znorder of the factors. And smallest factors are larger than the exponent, by at least a factor of 2 (for p=4k+3) or 6 (for p=4k+1). If m turns out prime, there are no cycles (beside of the trivial 2-2-2-2-2). For composites, possible cycles are larger than the number of iterations we do. We'll never find one... (even the trivial cycle for a prime, happens AFTER the test is finished) Last fiddled with by LaurV on 2019-07-31 at 04:36 |
|
|
|
|
|
#7 |
|
Mar 2004
22×33×5 Posts |
True! Perhaps much faster than that. And looking for a cycle is probably significantly faster than looking for other things. Nearly free, except for the fact that the string has to be stored, so it does take SOME memory and circles per iteration. Really depends on how useful or interesting the question is. I would estimate that it would add perhaps a minute per LL test based on absolutely nothing.
|
|
|
|
![]() |
| Thread Tools | |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Too few cycles error | cardmaker | Factoring | 4 | 2016-12-29 15:52 |
| 3n + 1 cycles for n = 2^57,885,161-1 | Unregistered | Information & Answers | 7 | 2013-02-16 02:24 |
| Dependencies and cycles | Sleepy | Msieve | 18 | 2011-06-10 09:16 |
| LLT Cycles for Mersenne primality test: a draft | T.Rex | Math | 1 | 2010-01-03 11:34 |
| CPU cycles | Unregistered | Information & Answers | 0 | 2007-07-19 12:24 |