English

An $\tilde{O}(\log^2(N))$ time primality test for Generalized Cullen Numbers

Number Theory 2010-07-07 v1 Combinatorics

Abstract

Generalized Cullen Numbers are positive integers of the form Cb(n):=nbn+1C_b(n):=nb^n+1. In this work we generalize some known divisibility properties of Cullen Numbers and present two primality tests for this family of integers. The first test is based in the following property of primes from this family: nbn(1)bn^{b^{n}}\equiv (-1)^{b} (mod nbn+1nb^n+1). It is stronger and has less computational cost than Fermat's test (for bases bb and nn) and than Miller-Rabin's test (for base nn). Pseudoprimes for this new test seem to be very scarce, only 4 pseudoprimes have been found among the many millions of Generalized Cullen Numbers tested. We also present a second, more demanding, test for wich no pseudoprimes have been found. This test leads to a "quasi-deterministic" test, running in O~(log2(N))\tilde{O}(\log^2(N)) time, which might be very useful in the search of Generalized Cullen Primes.

Keywords

Cite

@article{arxiv.1007.0929,
  title  = {An $\tilde{O}(\log^2(N))$ time primality test for Generalized Cullen Numbers},
  author = {Jose Maria Grau and Antonio M. Oller-Marcen},
  journal= {arXiv preprint arXiv:1007.0929},
  year   = {2010}
}
R2 v1 2026-06-21T15:45:02.450Z