Counting composites with two strong liars
Abstract
The strong probable primality test is an important practical tool for discovering prime numbers. Its effectiveness derives from the following fact: for any odd composite number , if a base is chosen at random, the algorithm is unlikely to claim that is prime. If this does happen we call a liar. In 1986, Erd\H{o}s and Pomerance computed the normal and average number of liars, over all . We continue this theme and use a variety of techniques to count with exactly two strong liars, those being the for which the strong test is maximally effective. We evaluate this count asymptotically and give an improved algorithm to determine it exactly. We also provide asymptotic counts for the restricted case in which has two prime factors, and for the with exactly two Euler liars.
Cite
@article{arxiv.1308.0880,
title = {Counting composites with two strong liars},
author = {Eric Bach and Andrew Shallue},
journal= {arXiv preprint arXiv:1308.0880},
year = {2013}
}