Join Nostr
2026-01-27 20:20:51 UTC

Jeremy Kun on Nostr: TIL if you do Miller-Rabin with the first 12 prime bases, you have a fast, exact ...

TIL if you do Miller-Rabin with the first 12 prime bases, you have a fast, exact primarily test for all 64-bit integers.

Cf. https://oeis.org/A014233 which gives the upper bound on the two-sided correctness of Miller-Rabin given that you tested on the first k bases.