<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://number.subwiki.org/w/index.php?action=history&amp;feed=atom&amp;title=Strong_pseudoprime</id>
	<title>Strong pseudoprime - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://number.subwiki.org/w/index.php?action=history&amp;feed=atom&amp;title=Strong_pseudoprime"/>
	<link rel="alternate" type="text/html" href="https://number.subwiki.org/w/index.php?title=Strong_pseudoprime&amp;action=history"/>
	<updated>2026-04-20T14:59:56Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.2</generator>
	<entry>
		<id>https://number.subwiki.org/w/index.php?title=Strong_pseudoprime&amp;diff=1015&amp;oldid=prev</id>
		<title>Vipul: /* Definition */</title>
		<link rel="alternate" type="text/html" href="https://number.subwiki.org/w/index.php?title=Strong_pseudoprime&amp;diff=1015&amp;oldid=prev"/>
		<updated>2021-06-15T22:44:02Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Definition&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 22:44, 15 June 2021&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l6&quot;&gt;Line 6:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 6:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Suppose &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; is an odd composite natural number and &amp;lt;math&amp;gt;a&amp;lt;/math&amp;gt; is an integer relatively prime to &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;. We say that &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; is a &amp;#039;&amp;#039;&amp;#039;strong pseudoprime&amp;#039;&amp;#039;&amp;#039; (also called &amp;#039;&amp;#039;&amp;#039;Miller-Rabin pseudoprime&amp;#039;&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;Rabin-Miller pseudoprime&amp;#039;&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;Miller-Rabin strong pseudoprime&amp;#039;&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;Rabin-Miller strong pseudoprime&amp;#039;&amp;#039;&amp;#039;) to base &amp;lt;math&amp;gt;a&amp;lt;/math&amp;gt; if the following holds.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Suppose &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; is an odd composite natural number and &amp;lt;math&amp;gt;a&amp;lt;/math&amp;gt; is an integer relatively prime to &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;. We say that &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; is a &amp;#039;&amp;#039;&amp;#039;strong pseudoprime&amp;#039;&amp;#039;&amp;#039; (also called &amp;#039;&amp;#039;&amp;#039;Miller-Rabin pseudoprime&amp;#039;&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;Rabin-Miller pseudoprime&amp;#039;&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;Miller-Rabin strong pseudoprime&amp;#039;&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;Rabin-Miller strong pseudoprime&amp;#039;&amp;#039;&amp;#039;) to base &amp;lt;math&amp;gt;a&amp;lt;/math&amp;gt; if the following holds.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Write &amp;lt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;/&lt;/del&gt;math&amp;gt;n-1 = 2^k s&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;s&amp;lt;/math&amp;gt; is odd and &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt; is a nonnegative integer. Then, either one of these conditions should hold:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Write &amp;lt;math&amp;gt;n-1 = 2^k s&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;s&amp;lt;/math&amp;gt; is odd and &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt; is a nonnegative integer. Then, either one of these conditions should hold:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;math&amp;gt;a^s \equiv 1 \pmod n&amp;lt;/math&amp;gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;math&amp;gt;a^s \equiv 1 \pmod n&amp;lt;/math&amp;gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Vipul</name></author>
	</entry>
	<entry>
		<id>https://number.subwiki.org/w/index.php?title=Strong_pseudoprime&amp;diff=85&amp;oldid=prev</id>
		<title>Vipul at 23:46, 19 April 2009</title>
		<link rel="alternate" type="text/html" href="https://number.subwiki.org/w/index.php?title=Strong_pseudoprime&amp;diff=85&amp;oldid=prev"/>
		<updated>2009-04-19T23:46:47Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 23:46, 19 April 2009&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{base-relative pseudoprimality property|&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{base-relative pseudoprimality property|&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;test fooled = Rabin-Miller &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;pseudoprimality &lt;/del&gt;test}}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;test fooled = Rabin-Miller &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;primality &lt;/ins&gt;test}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Definition==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Definition==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Suppose &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; is an odd composite natural number and &amp;lt;math&amp;gt;a&amp;lt;/math&amp;gt; is an integer relatively prime to &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;. We say that &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; is a &#039;&#039;&#039;strong pseudoprime&#039;&#039;&#039; to base &amp;lt;math&amp;gt;a&amp;lt;/math&amp;gt; if the following holds.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Suppose &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; is an odd composite natural number and &amp;lt;math&amp;gt;a&amp;lt;/math&amp;gt; is an integer relatively prime to &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;. We say that &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; is a &#039;&#039;&#039;strong pseudoprime&#039;&#039;&#039; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;(also called &#039;&#039;&#039;Miller-Rabin pseudoprime&#039;&#039;&#039;, &#039;&#039;&#039;Rabin-Miller pseudoprime&#039;&#039;&#039;, &#039;&#039;&#039;Miller-Rabin strong pseudoprime&#039;&#039;&#039;, &#039;&#039;&#039;Rabin-Miller strong pseudoprime&#039;&#039;&#039;) &lt;/ins&gt;to base &amp;lt;math&amp;gt;a&amp;lt;/math&amp;gt; if the following holds.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Write &amp;lt;/math&amp;gt;n-1 = 2^k s&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;s&amp;lt;/math&amp;gt; is odd and &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt; is a nonnegative integer. Then, either one of these conditions should hold:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Write &amp;lt;/math&amp;gt;n-1 = 2^k s&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;s&amp;lt;/math&amp;gt; is odd and &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt; is a nonnegative integer. Then, either one of these conditions should hold:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Vipul</name></author>
	</entry>
	<entry>
		<id>https://number.subwiki.org/w/index.php?title=Strong_pseudoprime&amp;diff=83&amp;oldid=prev</id>
		<title>Vipul: Created page with &#039;{{base-relative pseudoprimality property| test fooled = Rabin-Miller pseudoprimality test}}  ==Definition==  Suppose &lt;math&gt;n&lt;/math&gt; is an odd composite natural number and &lt;math&gt;a...&#039;</title>
		<link rel="alternate" type="text/html" href="https://number.subwiki.org/w/index.php?title=Strong_pseudoprime&amp;diff=83&amp;oldid=prev"/>
		<updated>2009-04-19T23:45:33Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;#039;{{base-relative pseudoprimality property| test fooled = Rabin-Miller pseudoprimality test}}  ==Definition==  Suppose &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; is an odd composite natural number and &amp;lt;math&amp;gt;a...&amp;#039;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{base-relative pseudoprimality property|&lt;br /&gt;
test fooled = Rabin-Miller pseudoprimality test}}&lt;br /&gt;
&lt;br /&gt;
==Definition==&lt;br /&gt;
&lt;br /&gt;
Suppose &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; is an odd composite natural number and &amp;lt;math&amp;gt;a&amp;lt;/math&amp;gt; is an integer relatively prime to &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;. We say that &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; is a &amp;#039;&amp;#039;&amp;#039;strong pseudoprime&amp;#039;&amp;#039;&amp;#039; to base &amp;lt;math&amp;gt;a&amp;lt;/math&amp;gt; if the following holds.&lt;br /&gt;
&lt;br /&gt;
Write &amp;lt;/math&amp;gt;n-1 = 2^k s&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;s&amp;lt;/math&amp;gt; is odd and &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt; is a nonnegative integer. Then, either one of these conditions should hold:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;a^s \equiv 1 \pmod n&amp;lt;/math&amp;gt;.&lt;br /&gt;
* &amp;lt;math&amp;gt;a^{n-1} \equiv 1 \pmod n&amp;lt;/math&amp;gt;. Further, consider the smallest &amp;lt;math&amp;gt;l&amp;lt;/math&amp;gt; for which &amp;lt;math&amp;gt;a^{2^ls} \equiv 1 \pmod n&amp;lt;/math&amp;gt;. Then, &amp;lt;math&amp;gt;a^{2^{l-1}s} \equiv -1 \pmod n&amp;lt;/math&amp;gt;. In other words, the last value before becoming &amp;lt;math&amp;gt;1&amp;lt;/math&amp;gt; should be &amp;lt;math&amp;gt;-1&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The name &amp;#039;&amp;#039;strong pseudoprime&amp;#039;&amp;#039; is because the above condition is satisfied for all primes, and is a particularly strong condition for which finding composite numbers is hard.&lt;br /&gt;
&lt;br /&gt;
==Relation with other properties==&lt;br /&gt;
&lt;br /&gt;
===Weaker properties===&lt;br /&gt;
&lt;br /&gt;
* [[Stronger than::Euler pseudoprime]]&lt;br /&gt;
* [[Stronger than::Fermat pseudoprime]]&lt;/div&gt;</summary>
		<author><name>Vipul</name></author>
	</entry>
</feed>