Some Primes of The Form (An - 1) / (A - 1) : by H. C. Williams and E. Seah
Some Primes of The Form (An - 1) / (A - 1) : by H. C. Williams and E. Seah
Some Primes of The Form (An - 1) / (A - 1) : by H. C. Williams and E. Seah
Abstract. A table of primes of the form (a — l)/(a — 1) for values of a and n such
that 3<a<12, 2<n< 1000 is presented. A description is given of the techniques
used to obtain this table, and some numbers such as (10 - l)/9 which are pseudo-
prime but whose primality is not yet rigorously established are also discussed.
1. Introduction. For many years there has been considerable interest in the
factorization of integers of the form a" - I. Much work has been done on primes of
the form 2" - 1 including an empirical analysis of the distribution of such primes*
(Gillies [3], Tuckerman [6] ) and on the primes of the form (10" - l)/9, the so-called
repunit numbers. However, there has been little recent work on primes of the form
(a" - l)/(a - 1) for values of a other than 2 and 10.
Some tables of primes of this form for small values of a can be found in Krait-
chik [4] but the methods available at the time [4] was written did not permit investi-
gation of such numbers for large values of n. Modern methods of primality testing
(see Williams [9] ) often allow for the determination of quite large primes. The pur-
pose of this paper is to illustrate the power and limitations of these techniques by
utilizing them to attempt to tabulate all primes of the form (an - 1)/(a - 1) for 3 <
a< 12 and 1 <n < 1000.
2. Available Techniques. In order to test N (odd) for primality it is usually
necessary to have a number of factors of N - 1. Suppose
Fx= i=i
n if*
is completely factored, and any prime factor of S¡ (i = 1,2,3, ... ,k) must exceed
a factor bound B (>2). We have the following results of Brillhart, Lehmer, and Self-
ridge [1] which can be used as tests for primality.
(ajN-1V"i-l,N) = l
and
fff-1 = 1 (modAO,
then any prime divisor of N must have the form mFx + 1.
bf~l = 1 (modAO,
then any prime divisor of N must have the form msxs2s3 • ■■sk + I, where s¡ is
some prime divisor of S(.
Clearly, if the conditions of both Theorem 1 and Theorem 2 hold, then any
prime factor of Af must have the form sxs2s3 • • ■s^ra + 1 > BkFx. If (B Fx) >
N, N must be a prime.
Now if Nnia) = (a" - l)/(a - 1), then
Nn(a)-l=aNn_x(a);
also, if Nn(a) is a prime, then « is a prime. As we are interested only in possible
prime values of Nn(a), we see that n - 1 is not a prime and, as a consequence,
Nn(a) - 1 can first be factored algebraically. We then try to find factors of the alge-
braic divisors. The process of finding these factors is frequently time consuming and
often very difficult; thus, we attempt to minimize the number of factors of Nn(a) - 1
which we will need. To this end we make use of the following theorem, which is an
extension of some results in [1].
Theorem 3. Suppose that the conditions of Theorems 1 and 2 hold for some
N and let
and 0 < A < 2FX. IfD(t) is not a perfect square for any t such that 0 < t < T and
Bk(A + 2TFX - Bk)F\ > N, then N is a prime.
and
Note that if D(t) is a perfect square, say K2, for some t, then K must be even
and
In Table 1 below we present the results of these computer runs together with results
found previously by others.
Table 1
Remarks. (1) Numbers identified by an (*) have not yet been proved prime,
they are pseudoprime to several bases and are most likely to be prime, but not enough
factors of Nn(a) - 1 are known yet for primality testing. See the next section.
(2) Most of the prime values of Nn(a) for n < 23 can be found in [4].
(3) Values of Nn(a) with n marked by C1")were identified as prime in [2] and
values of Nn(a) with n marked by (T"l")were identified as pseudoprime in [2].
(4) The number Af139(ll) was identified as a pseudoprime at a time when the
authors of [2] thought that the base 11 table of [2] would extend to 150 instead of
the present limit of 135.
Some of the numbers proved prime above merit some extended discussion. For
example, (12317 - 1)/11 and (12353 - 1)/11 could only be proved prime after the
prime factor 77554200461 of 12158 + 1 and the prime factor 1200913648289 of
12176 + 1 were found by the P - 1 method with BP = 130000. Also, it was neces-
sary to prove that
5i03 _ , _ 22•3709-28429-C1;
where Cx, C2, C3 axe composite, the factor bound on C2 and C3 is 108 and the factor
bound on C, is 23s [2]. The larger factors of the last two numbers were found by
the P - 1 method with BP = 70000.
The number Px is a rather interesting prime and worthy of some further mention.
It was necessary to use the methods of Williams and Judd [7] to prove the primality
of this number. With a factor bound of 31250044839 we get
Px - 1 = 22-103-Cp
Px + 1 = 2-32-15358247 C2,
P\+Px +l=l-C3,
1342 H. C. WILLIAMS AND E. SEAH
P\ + 1 =2-5-13-941 •4049-244200149-C4,
P\-Pl+1 = 3 • 19-124783-C5,
where Cx, C2, C3, C4, C5 axe ail composite. This is not enough to establish primality,
but by using the P - 1 method on Cv C2, C3, C4, Cs with BP = 130000, we get the
prime factors 906732292429of C3 and 162391349686704225169920001of Cs.
This additional information was enough to prove Px a prime.
While it is not now possible with the information we have here to prove primal-
ity for the large numbers above, it should be mentioned that a decade ago no one
would have thought it possible to prove a number like (5619 - l)/4 a prime. Yet in
the last ten years much progress has been made both in technology and in the theory
of factorization and primality testing. Perhaps future results will permit a rigorous
demonstration of the primality of these numbers.