English

Strengthening the Baillie-PSW primality test

Number Theory 2021-06-14 v2 Cryptography and Security

Abstract

The Baillie-PSW primality test combines Fermat and Lucas probable prime tests. It reports that a number is either composite or probably prime. No odd composite integer has been reported to pass this combination of primality tests if the parameters are chosen in an appropriate way. Here, we describe a significant strengthening of this test that comes at almost no additional computational cost. This is achieved by including in the test what we call Lucas-V pseudoprimes, of which there are only five less than 101510^{15}.

Keywords

Cite

@article{arxiv.2006.14425,
  title  = {Strengthening the Baillie-PSW primality test},
  author = {Robert Baillie and Andrew Fiori and Samuel S. Wagstaff},
  journal= {arXiv preprint arXiv:2006.14425},
  year   = {2021}
}

Comments

25 pages

R2 v1 2026-06-23T16:37:30.278Z