![]() |
|
|
#12 |
|
Einyen
Dec 2003
Denmark
35×13 Posts |
Using C and GMP the test for S0=14 matches the OEIS A057732 from n=4 (1 and 2 are trivial, n=3 fails) up to 11k so far, no false positive.
Using S0=(N-5)/2 the test matches OEIS from n=3 (1 trivial and n=2 fails) to 11k so far, no false positive. Testing n: 17187, 17220, 17934, 20724, 22732, 25927, 31854, 33028, 35754, 38244, 39796, 40347, 55456, 58312 directly with both seeds gives a positive. |
|
|
|
|
|
#13 | |
|
Feb 2004
France
16248 Posts |
Quote:
Life is various and weird. Some maths. Photography. Children living at 1000km and 10,000km from me. Girl-friend. Visiting daughter's country (Singapour and around, and soon Australia). Some weird but at the end not serious issue with my brain. Hiking. Mother having Alzeihmer. Death of mother. Mother's inheritance tasks and issues. Disease of girl-friend's father, and then death. Vacations. Painful work project. However, I'm in good health, still able to climb 1000m in about 2 hours in Grenoble's mountains ! ![]() And chance and a bad night pushed me to look at these damned 2^n+3 numbers ! Last fiddled with by T.Rex on 2015-08-27 at 15:21 |
|
|
|
|
|
|
#14 |
|
Feb 2004
France
16248 Posts |
Hummm Looks like I have also a LLT-like algorithm for 2^n+5 prime numbers (with n odd).
See: https://oeis.org/A059242 . It works fine for: 3, 5, 11, 47, 53, 141, 143, 191, 273, 341 . There is a gap till 16541, that should be reached by tomorrow. Will give details later, probably in another thread. |
|
|
|
|
|
#15 |
|
Feb 2004
France
22×229 Posts |
And I'll have a look at (2^n+5)/3 with n even, too. If I have time.
|
|
|
|
|
|
#16 |
|
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2
36·13 Posts |
Tony, you can easily sieve for these forms, and if you do (for 2 minutes) then searching up to 16541 would take less than 1 minute...?
|
|
|
|
|
|
#17 | |
|
Sep 2002
Database er0rr
3,739 Posts |
Quote:
Last fiddled with by paulunderwood on 2015-08-27 at 17:28 |
|
|
|
|
|
|
#18 |
|
Einyen
Dec 2003
Denmark
C5716 Posts |
The test is positive for all number in https://oeis.org/A057732 for both S0 values, and there is no counter example up to 23k for both S0 values.
|
|
|
|
|
|
#19 |
|
Feb 2004
France
39416 Posts |
OK. My PARI/gp code reached 20724, 22732, and 25927, with no false positive, which also are in A057732.
It is not useful to let PARI/gp continue searching, since a much faster implementation of LLT must be used in order to find a n greater than 685578 such that N=2^n+3 is a biggest PRP . About comments dealing with performance about proving that a number is pseudo-prime and saying that other methods are more useful, I do not agree. I think that LLT-like algorithms are the fastest math ways for proving that a specific number N is Prime, when such an algorithm has been proven (like for Mersenne or Fermat numbers) - and when a specific LLT-code has be written for number N. And I think that LLT-like algorithms for PRPs may be proven true in the future, once Math people have develop new proof technics for proving LLT-like algorithms based on cycles instead of the tree. Remember that 99,99% of Number Theory people ignore that the Pépin test used for proving that a Fermat number is prime is equivalent to a LLT test, and that at least 3 math proofs (including one by myself) have been provided for this. There is much more in LLT method than you think. Reread Édouard Lucas work and Hugh C. Williams book about Lucas' work. See: http://www.ejpam.com/index.php/ejpam...iewArticle/245 See: http://arxiv.org/PS_cache/arxiv/pdf/...705.3664v1.pdf Last fiddled with by T.Rex on 2015-08-28 at 07:32 |
|
|
|
|
|
#20 | |
|
Sep 2002
Database er0rr
3,739 Posts |
Quote:
|
|
|
|
|
|
|
#21 | |
|
Nov 2003
22×5×373 Posts |
Quote:
This entire thread has been devoted to mindless numerology. I see no mathematical discussion at all. |
|
|
|
|
|
|
#22 | |
|
"Dana Jacobsen"
Feb 2011
Bangkok, TH
22×227 Posts |
Quote:
From a performance testing standpoint, it's important to note that the tests I ran (is_prob_prime and ispseudoprime) have compositeness tests at the front, so of course they will be faster. If one really wanted to compare, either the L-L type test needs similar tests prepended or we need to run something like is_bpsw_prime that does nothing but the primality test. I did a very brief experiment with the former and got relatively similar times (I just did a simple mod with N in the loop, with no special optimizations). This of course ignores the certainty of the test -- the L-L type tests are (1) different, and (2) could someday be proven results. Last fiddled with by danaj on 2015-08-28 at 15:45 Reason: Add comment on usefulness |
|
|
|
|
![]() |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Adding M(37156667) to OEIS | lidocorc | Information & Answers | 1 | 2016-12-11 07:26 |
| OEIS - 2·A261539: (2^n+5)/3 , n even | T.Rex | Miscellaneous Math | 38 | 2015-09-05 16:14 |
| OEIS - A059242 : 2^n+5 , n odd | T.Rex | Miscellaneous Math | 7 | 2015-08-28 18:04 |
| my misunderstanding of the OEIS | science_man_88 | Miscellaneous Math | 11 | 2011-05-18 15:04 |