Some probabilistic primality tests, like the strong Lucas test that is part of the widely used Baillie-PSW test, are defined through linear recurrent sequences. When adopting linear recurrent sequences of degree two, the simple version of the Lucas test as well as tests based on the Pell hyperbola can be generalized obtaining new powerful primality tests. This paper describes a deeper analysis of these two generalized tests in order to find the best parameters by number of pseudoprimes, i.e., the instances of the tests with less composite integers that are declared primes. The Selfridge method for choosing the parameters of the Lucas test can be adapted to the generalized tests and, when adopting the parameters among those with best statistical results, the resulting tests have no pseudoprimes up to 2

Developments on primality tests based on linear recurrent sequences of degree two / Dutto, Simone. - In: RENDICONTI DEL SEMINARIO MATEMATICO. - ISSN 2704-999X. - 80:1(2022), pp. 17-27.

Developments on primality tests based on linear recurrent sequences of degree two

Simone Dutto
2022

Abstract

Some probabilistic primality tests, like the strong Lucas test that is part of the widely used Baillie-PSW test, are defined through linear recurrent sequences. When adopting linear recurrent sequences of degree two, the simple version of the Lucas test as well as tests based on the Pell hyperbola can be generalized obtaining new powerful primality tests. This paper describes a deeper analysis of these two generalized tests in order to find the best parameters by number of pseudoprimes, i.e., the instances of the tests with less composite integers that are declared primes. The Selfridge method for choosing the parameters of the Lucas test can be adapted to the generalized tests and, when adopting the parameters among those with best statistical results, the resulting tests have no pseudoprimes up to 2
2022
File in questo prodotto:
File Dimensione Formato  
preprint.pdf

accesso aperto

Tipologia: 2a Post-print versione editoriale / Version of Record
Licenza: PUBBLICO - Tutti i diritti riservati
Dimensione 104.17 kB
Formato Adobe PDF
104.17 kB Adobe PDF Visualizza/Apri
Pubblicazioni consigliate

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/11583/2986184