English

Primality tests, linear recurrent sequences and the Pell equation

Number Theory 2020-02-20 v1

Abstract

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 clearly how the Lucas pseudoprimes are connected to the Pell equation and the Brahamagupta product. We also introduce a new specific primality test, which we will call generalized Pell test. We perform some numerical computations on the new primality tests and, for the generalized Pell test, we do not any pseudoprime up to 101010^{10}.

Keywords

Cite

@article{arxiv.2002.08062,
  title  = {Primality tests, linear recurrent sequences and the Pell equation},
  author = {Danilo Bazzanella and Antonio Di Scala and Simone Dutto and Nadir Murru},
  journal= {arXiv preprint arXiv:2002.08062},
  year   = {2020}
}
R2 v1 2026-06-23T13:46:32.843Z