English
Related papers

Related papers: Strengthening the Baillie-PSW primality test

200 papers

The strong Lucas test is a widely used probabilistic primality test in cryptographic libraries. When combined with the Miller-Rabin primality test, it forms the Baillie-PSW primality test, known for its absence of false positives,…

Cryptography and Security · Computer Science 2024-06-10 Semira Einsele , Gerhard Wunder

We provide a new algorithm for tabulating composite numbers which are pseudoprimes to both a Fermat test and a Lucas test. Our algorithm is optimized for parameter choices that minimize the occurrence of pseudoprimes, and for pseudoprimes…

Number Theory · Mathematics 2019-02-13 Andrew Shallue , Jonathan Webster

Reliable probabilistic primality tests are fundamental in public-key cryptography. In adversarial scenarios, a composite with a high probability of passing a specific primality test could be chosen. In such cases, we need worst-case error…

Cryptography and Security · Computer Science 2023-06-19 Semira Einsele , Kenneth Paterson

Monier and Rabin proved that an odd composite can pass the Strong Probable Prime Test for at most $\frac 14$ of the possible bases. In this paper, a probable prime test is developed using quadratic polynomials and the Frobenius…

Number Theory · Mathematics 2019-03-19 Jon Grantham

We use Experimental Mathematics and Symbolic Computation (with Maple), to search for lots and lots of Perrin- and Lucas- style primality tests, and try to sort the wheat from the chaff. More impressively, we find quite a few such primality…

Number Theory · Mathematics 2024-04-12 Robert Dougherty-Bliss , Doron Zeilberger

We study new primality tests based on linear recurrent sequences of degree two exploiting a matricial approach. The classical Lucas test arises as a particular case and we see how it can be easily improved. Moreover, this approach shows…

Number Theory · Mathematics 2020-02-20 Danilo Bazzanella , Antonio Di Scala , Simone Dutto , Nadir Murru

A single parameter cubic composite test for odd positive integers is given which relies on the discriminant always being a square integer. This test has no known counterexample despite extensive verifications. As well as a comparison with…

Number Theory · Mathematics 2025-05-06 Pierre Laurent , Paul Underwood

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 $n$, if a base $a$ is chosen at random, the algorithm is…

Number Theory · Mathematics 2013-08-06 Eric Bach , Andrew Shallue

In this expository paper we describe four primality tests. The first test is very efficient, but is only capable of proving that a given number is either composite or 'very probably' prime. The second test is a deterministic polynomial time…

Number Theory · Mathematics 2008-01-25 Rene Schoof

In 1876, Edouard Lucas showed that if an integer $b$ exists such that $b^{n-1} \equiv 1 (\mathrm{mod} \ n)$ and $b^{(n-1)/p} \not\equiv 1( \mathrm{mod} \ n)$ for all prime divisors $p$ of $n-1$ , then $n$ is prime, a result known as Lucas's…

Number Theory · Mathematics 2021-04-13 Ariko Stephen Philemon

In this paper, we provide a generalization of Proth's theorem for integers of the form $Kp^n+1$. In particular, a primality test that requires only one modular exponentiation similar to that of Fermat's test without the computation of any…

Number Theory · Mathematics 2022-07-27 A. Ramzy

In this paper, we study the properties of Carmichael numbers, false positives to several primality tests. We provide a classification for Carmichael numbers with a proportion of Fermat witnesses of less than 50%, based on if the smallest…

Number Theory · Mathematics 2017-02-28 Sathwik Karnik

We investigate the probability that a random odd composite number passes a random Fermat primality test, improving on earlier estimates in moderate ranges. For example, with random numbers to $2^{200}$, our results improve on prior…

Number Theory · Mathematics 2019-01-08 Jared D. Lichtman , Carl Pomerance

This note presents a formalisation done in Coq of Lucas-Lehmer test and Pocklington certificate for prime numbers. They both are direct consequences of Fermat little theorem. Fermat little theorem is proved using elementary group theory and…

Logic in Computer Science · Computer Science 2022-03-31 Laurent Théry , Sophia Antipolis

The structure of the group $(\mathbb{Z}/n\mathbb{Z})^\star$ and Fermat's little theorem are the basis for some of best-known primality testing algorithms. Many related concepts arise: Euler's totient function and Carmichael's lambda…

Number Theory · Mathematics 2014-01-21 Jose M. Grau , Manuel Rodríguez , A. Oller-Marcen , Daniel Sadornil

Determining whether a given integer is prime or composite is a basic task in number theory. We present a primality test based on quantum order finding and the converse of Fermat's theorem. For an integer $N$, the test tries to find an…

Quantum Physics · Physics 2019-08-21 Alvaro Donis-Vela , Juan Carlos Garcia-Escartin

We develop a simple $O((\log n)^2)$ test as an extension of Proth's test for the primality for $p2^n+1$, $p>2^n$. This allows for the determination of large, non-Sierpinski primes $p$ and the smallest $n$ such that $p2^n+1$ is prime. If $p$…

Number Theory · Mathematics 2018-11-16 Tejas R. Rao

Lucas-Lehmer test is the current standard algorithm used for testing the primality of Mersenne numbers, but it may have limitations in terms of its efficiency and accuracy. Developing new algorithms or improving upon existing ones could…

Number Theory · Mathematics 2023-05-25 Moustafa Ibrahim

We establish a necessary condition for pseudoprimality and a sufficient condition for primality of Fermat numbers, based on a congruence involving the exponent $(F_n-1)/4$. Moreover, in connection with P\'epin's primality test, we obtain a…

General Mathematics · Mathematics 2026-04-30 Paolo Starni

The proliferation of probable prime tests in recent years has produced a plethora of definitions with the word ``pseudoprime'' in them. Examples include pseudoprimes, Euler pseudoprimes, strong pseudoprimes, Lucas pseudoprimes, strong Lucas…

Number Theory · Mathematics 2019-03-19 Jon Grantham
‹ Prev 1 2 3 10 Next ›