![]() |
![]() |
#34 | |
"特朗普trump"
Feb 2019
朱晓丹没人草
13210 Posts |
![]() Quote:
let x=14^((n-1)/4)mod n ,x not equal ±1 and x^2=14^((n-1)/2)mod n equal 1, so GCD(x-1,n) and GCD(x+1,n) will give the factor of n! |
|
![]() |
![]() |
#35 |
"Mark"
Apr 2003
Between here and the
2·34·43 Posts |
![]()
Per pfgwdoc.txt:
Code:
A.3.4 F-Strong test This test is used when you use the -t option, and your factors don't reach the magic 33.33%. It is a strong-primality test, and gives more certainty than a Fermat test, but still is NOT a proof! |
![]() |
![]() |
#36 | |
"特朗普trump"
Feb 2019
朱晓丹没人草
22·3·11 Posts |
![]() Quote:
I know it (pfgwdoc.txt),and I read it before |
|
![]() |
![]() |
#37 |
"Curtis"
Feb 2005
Riverside, CA
10110000010002 Posts |
![]()
Try a search engine. Again.
Your combination of complaints, demands, and abrasiveness (impoliteness) is growing quite tiresome. |
![]() |
![]() |
#38 |
"特朗普trump"
Feb 2019
朱晓丹没人草
13210 Posts |
![]() |
![]() |
![]() |
#39 |
"特朗普trump"
Feb 2019
朱晓丹没人草
22×3×11 Posts |
![]()
why PFGW use fermat test ,not miller rabin test ?
for what reason to use fermat test instead of miller rabin test ? Moderator note: I moved this post and all responses from new thread to this thread. Last fiddled with by Dr Sardonicus on 2022-09-19 at 15:05 |
![]() |
![]() |
#40 |
"特朗普trump"
Feb 2019
朱晓丹没人草
22×3×11 Posts |
![]()
fermat test is useless for Carmichael number!
|
![]() |
![]() |
#41 |
Sep 2002
Database er0rr
5×29×31 Posts |
![]()
OpenPFGW is open source. You are welcome to alter the source to provide Miller-Rabin tests. Do it instead of starting more threads about how inadequate the program is for your needs.
|
![]() |
![]() |
#42 |
Sep 2002
Database er0rr
5·29·31 Posts |
![]()
Miller-Rabin is "useless" with some composites. So what? Use Fermat+Lucas, and if you want to be 100% of primality use something like ECPP (if your number is general enough and not of a special form).
Last fiddled with by paulunderwood on 2022-09-19 at 08:43 |
![]() |
![]() |
#43 |
Dec 2021
43 Posts |
![]() |
![]() |
![]() |
#44 | |
Undefined
"The unspeakable one"
Jun 2006
My evil lair
2×3,343 Posts |
![]() Quote:
Alternatively, if no product suits your desires then you may need to write your own testing code. Hope that helps. ![]() |
|
![]() |
![]() |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
FastECPP software and >50000 digit primality proof (reposted from NMBRTHRY) | Batalov | And now for something completely different | 289 | 2023-01-30 19:55 |
For which types of primes is GPU primality test software available? | bur | GPU Computing | 6 | 2020-08-28 06:20 |
Fastest software for Mersenne primality test? | JonathanM | Information & Answers | 25 | 2020-06-16 02:47 |
Primality searches and primality successes | marco_calabresi | Information & Answers | 3 | 2009-04-17 19:44 |
Software | TTn | PSearch | 0 | 2004-05-04 13:16 |