<?xml version="1.0" encoding='utf-8'?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<card id="card1" title="Proth&#039;s theorem - Page 3 - Wikipedia">
<p>
<a accesskey="1" href="page.php?w=Proth's_theorem&amp;p=2">1.Previous</a><br />
<a accesskey="3" href="page.php?w=Proth%27s_theorem&amp;p=4">3.Next</a>
</p>
<p>confirm primality, provided that p is a Proth number. Verifying that p is a Proth number is a triviality. </p>

<p>This is a practical test because, if p is prime, then any chosen a has about a 50 percent chance of working, and if p is not prime, then no chosen a will work. Furthermore, since the calculation is modulo p, only values of a smaller than p have to be considered.</p>

<p><big> Systematic naïve variant </big></p>
<p>If p is Proth composite, then no base a will work to bear witness of primality. If any one base a bears witness, then primality</p><p>
<a accesskey="1" href="page.php?w=Proth's_theorem&amp;p=2">1.Previous</a><br />
<a accesskey="3" href="page.php?w=Proth%27s_theorem&amp;p=4">3.Next</a>
</p>

<do type="prev" label="Search">
        <go href="search.wml"/>
</do>

</card>
</wml>
