We give a deterministic algorithm that very quickly proves the primality or compositeness of the integers
in a certain sequence,
using an elliptic curve
with complex multiplication by the ring of integers of
. The algorithm
uses
arithmetic
operations in the ring
,
implying a bit complexity that is quasiquadratic in
. Notably, neither
of the classical “”
or “”
primality tests apply to the integers in our sequence. We discuss how this algorithm
may be applied, in combination with sieving techniques, to efficiently search for very
large primes. This has allowed us to prove the primality of several integers with more
than 100,000 decimal digits, the largest of which has more than a million bits in its
binary representation. At the time it was found, it was the largest proven prime
for which no significant
partial factorization of
or
is
known (as of final submission it was second largest).