<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Strong Pseudoprimes to Twelve Prime Bases · HackerPapers discussions</title><link>https://hackerpaper.kaipfister.de/p/1509.00864/</link><description>Collected HN comments and submissions linking this paper.</description><language>en</language><lastBuildDate>Mon, 02 Nov 2026 11:16:22 GMT</lastBuildDate><atom:link href="https://hackerpaper.kaipfister.de/p/1509.00864/feed.xml" rel="self" type="application/rss+xml" /><item><title>Strong Pseudoprimes to Twelve Prime Bases — mentioned by svat</title><link>https://news.ycombinator.com/item?id=15535671</link><guid isPermaLink="false">urn:hackerpapers:mention:1509.00864:15535671</guid><pubDate>Mon, 23 Oct 2017 18:32:18 GMT</pubDate><description>&lt;p&gt;For what it&amp;#x27;s worth, here is an implementation of the Miller-Rabin primality test that first tries the smallest 13 primes and then tries some random bases: def is_probable_prime(n, num_random_trials=5): &amp;quot;&amp;quot;&amp;quot; An implementation of the Miller-Rabin primality test. If this function returns False, then n is definitely not prime. If this function returns True, then n is probably prime: the probability of n being composite is less than 1/4^(num_random_trials), and nonzero only if n &amp;gt;= 3317044064679887385961981 &amp;gt; 3.3*10^24 &amp;gt; 1.3*2^81 (by https://arxiv.org/abs/1509.00864). &amp;quot;&amp;quot;&amp;quot; assert n == abs(int(n))…&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/1509.00864/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>math.NT</category></item></channel></rss>
