Statements (21)
Predicate | Object |
---|---|
gptkbp:instanceOf |
primality test
|
gptkbp:basedOn |
gptkb:Fermat's_little_theorem
|
gptkbp:canProduceFalsePositives |
true
|
gptkbp:complexity |
O(k log^3 n)
|
gptkbp:deterministicForCertainBases |
true
|
gptkbp:falsePositivesKnownAs |
Carmichael numbers
|
gptkbp:field |
gptkb:mathematics
number theory |
gptkbp:firstDescribed |
19th century
|
https://www.w3.org/2000/01/rdf-schema#label |
Fermat primality test
|
gptkbp:input |
integer n > 2
|
gptkbp:isProbabilistic |
true
|
gptkbp:namedAfter |
gptkb:Pierre_de_Fermat
|
gptkbp:output |
composite or probable prime
|
gptkbp:relatedTo |
gptkb:Miller–Rabin_primality_test
gptkb:Solovay–Strassen_primality_test |
gptkbp:supportsAlgorithm |
gptkb:algorithm
|
gptkbp:usedFor |
primality testing
|
gptkbp:usesRandomBase |
true
|
gptkbp:bfsParent |
gptkb:Rabin–Miller_primality_test
|
gptkbp:bfsLayer |
6
|