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

preprint2010arXivOpen access

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~(log⁡2(N))\tilde{O}(\log^2(N)) time, which might be very useful in the search of Generalized Cullen Primes.

Explore this paper’s authors, topics and related work.

Building this map preview

BZPEER is loading the nearby papers, people, topics and institutions for this page.

Reviews 0

Write a reviewWrite

No reviews yet.

Discussion 0

Add a commentWrite

No comments yet.