<?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="Probable prime - Page 9 - Wikipedia">
<p>
<a accesskey="1" href="page.php?w=probable_prime&amp;p=8">1.Previous</a><br />
<a accesskey="3" href="page.php?w=probable_prime&amp;p=10">3.Next</a>
</p>
<p>prime test can be used alone. The <a href="page.php?w=Baillie-PSW_primality_test">Baillie-PSW primality test</a> combines a Lucas test with a strong probable prime test.</p>

<p><big>Example of testing for a strong probable prime</big></p>
<p>To test whether 97 is a strong probable prime base 2:<br/>
* Step 1: Find  and  for which , where  is odd<br/>
** Beginning with ,  would be <br/>
** Increasing , we see that  and , since <br/>
* Step 2: Choose , . We will choose .<br/>
* Step 3: Calculate , i.e. . Since it isn't congruent to , we continue to test</p><p>
<a accesskey="1" href="page.php?w=probable_prime&amp;p=8">1.Previous</a><br />
<a accesskey="3" href="page.php?w=probable_prime&amp;p=10">3.Next</a>
</p>

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

</card>
</wml>
