![]() |
![]() |
#1 |
Einyen
Dec 2003
Denmark
2·17·101 Posts |
![]()
http://mathworld.wolfram.com/ProthsTheorem.html
http://primes.utm.edu/glossary/xpage/ProthPrime.html I'm wondering about the requirement 2n>k. I know that without this requirement all odd numbers/primes would be Proth numbers/primes, but does the theorem work for k>2n ? or only sometimes? I tested some fermat factors from: http://www.prothsearch.net/fermat.html and the theorem works on them: N=52347*27+1: a(N-1)/2=-1 (mod N) for a=5,7,17 N=1071*28+1: a(N-1)/2=-1 (mod N) for a=5,11,13 N=262814145745*28+1: a(N-1)/2=-1 (mod N) for a=3,7,13 N=11141971095088142685*29+1: a(N-1)/2=-1 (mod N) for a=7,11 N=604944512477*211+1: a(N-1)/2=-1 (mod N) for a=3,5,7,11 N=11131*212+1: a(N-1)/2=-1 (mod N) for a=3,5,11,17 N=395937*214+1: a(N-1)/2=-1 (mod N) for a=7,13,17 N=10253207784531279*214+1: a(N-1)/2=-1 (mod N) for a=5,7,13 N=434673084282938711*213+1: a(N-1)/2=-1 (mod N) for a=3,5,13,17 Last fiddled with by ATH on 2011-02-12 at 15:16 |
![]() |
![]() |
![]() |
#2 |
Feb 2006
Denmark
2×5×23 Posts |
![]()
If a^(N-1)/2=-1 (mod N), then a^(N-1)=1 (mod N), so N is a base-a Fermat prp by Fermat's little theorem.
Proth's theorem gives a condition where this also proves primality. You are only testing known primes which will of course all be Fermat prp's. Proth's condition is not satisfied so you haven't shown whether they are primes or Fermat pseudoprimes. |
![]() |
![]() |
![]() |
#3 |
Einyen
Dec 2003
Denmark
2×17×101 Posts |
![]()
Thanks. I found a proof for Proth's theorem and I see how the requirement 2n>k arises.
http://www.artofproblemsolving.com/F...c.php?t=184587 |
![]() |
![]() |
![]() |
#4 |
"Forget I exist"
Jul 2009
Dartmouth NS
2·3·23·61 Posts |
![]()
Is this theorem used for Mersenne numbers? Could it be combined with LL testing to make a faster test ?
|
![]() |
![]() |
![]() |
#5 |
Aug 2006
5,987 Posts |
![]() |
![]() |
![]() |
![]() |
#6 |
"Forget I exist"
Jul 2009
Dartmouth NS
100000111000102 Posts |
![]()
Thanks! I actually did testing of my own the problem for me is solving for the base, the exponent is (((2^n-1)-1)/2) or 2^(n-1)-1 , So the problem becomes base^(2^(n-1)-1) = -1 Mod (2^n-1).
Last fiddled with by science_man_88 on 2011-02-14 at 16:36 |
![]() |
![]() |
![]() |
#7 |
"Forget I exist"
Jul 2009
Dartmouth NS
100000111000102 Posts |
![]() |
![]() |
![]() |
![]() |
#8 |
Just call me Henry
"David"
Sep 2007
Liverpool (GMT/BST)
178F16 Posts |
![]()
The LLR test also needs 2^n>k. Is that for pretty much the same reason?
As far as I can tell some riesel primes pass the LLR test with 2^n<k but some don't. |
![]() |
![]() |
![]() |
#9 | |
Sep 2009
97A16 Posts |
![]() Quote:
Chris K |
|
![]() |
![]() |
![]() |
#10 |
Jun 2003
22×32×151 Posts |
![]() |
![]() |
![]() |
![]() |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Proth primes | ET_ | Proth Prime Search | 15 | 2022-06-26 03:27 |
Proth theorem extended | Bill Bouris | Conjectures 'R Us | 4 | 2009-04-07 13:25 |
Converse of Proth's Theorem | Dougy | Math | 15 | 2008-01-30 21:17 |
Extended Proth Theorem | Cyclamen Persicum | Math | 1 | 2004-04-20 04:54 |
Last possible proth tested! | Deamiter | PSearch | 3 | 2003-03-03 03:19 |