Content deleted Content added
LouScheffer (talk | contribs) →Primality testing: Wording |
→Primality testing: fixed name of a hyper link Tags: Mobile edit Mobile web edit |
||
Line 13:
=== Primality testing ===
The [[AKS primality test]] is galactic. It is the most theoretically sound of any known algorithm that can take an arbitrary number and tell if it is prime. In particular, is ''provably polynomial-time'', ''deterministic'', and ''unconditionally correct''. All other known algorithms fall short on at least one of these criteria, but the shortcomings are minor and the calculations are much faster, so they are used instead. [[Elliptic curve primality proving|ECPP]] in practice runs much faster than AKS, but it has never been proven to be polynomial time. The [[Miller–Rabin primality test|Miller–Rabin]] test is also much faster than AKS, but produces only a probabilistic result. However the probability of error can be driven down to arbitrarily small values (say <math>< 10^{-100}</math>), good enough for practical purposes. Finally the [[Miller–Rabin primality test#Deterministic variants|
=== Matrix multiplication ===
|