Estimates for Wieferich Numbers
William D. Banks Department of Mathematics University of Missouri Columbia, MO 65211, USA [email protected] Florian Luca Instituto de Matem´aticas Universidad Nacional Aut´onoma de M´exico C.P. 58180, Morelia, Michoac´an, M´exico [email protected] Igor E. Shparlinski Department of Computing Macquarie University Sydney, NSW 2109, Australia [email protected]
Abstract
We define Wieferich numbers to be those odd integers w ≥ 3 that satisfy the congruence 2ϕ(w) ≡ 1 (mod w2). It is clear that the distri- bution of Wieferich numbers is closely related to the distribution of Wieferich primes, and we give some quantitative forms of this state- ment. We establish several unconditional asymptotic results about Wieferich numbers; analogous results for the set of Wieferich primes remain out of reach. Finally, we consider several modifications of the above definition and demonstrate that our methods apply to such sets of integers as well.
1 1 Introduction
Let ϕ(n) be the Euler function and λ(n) be the Carmichael function. We re- call that these functions give the order and exponent of the group of invertible elements modulo n, respectively. Throughout this paper, for any real number x> 0 and any integer ℓ ≥ 1, we write logℓ x for the function defined inductively by log1 x = max{log x, 1} (where log x is the natural logarithm of x) and logℓ x = log1(logℓ−1 x) for ℓ> 1. When ℓ = 1, we omit the subscript in order to simplify the notation; however, we continue to assume that log x ≥ 1 for any x> 0. In what follows, we use the Landau symbol O and the Vinogradov symbols ≪ and ≫ with their usual meanings, with the understanding that any implied constants are absolute. We recall that the notations A ≪ B, B ≫ A and A = O(B) are equivalent. We always use the letters p and q to denote prime numbers, while m and n always denote positive integers. An odd integer w ≥ 3 is called a Wieferich number if the congruence 2ϕ(w) ≡ 1 (mod w2) (1) holds. Note that if w = q is prime, this agrees with the classical definition of a Wieferich prime. If (1) does not hold, we call w ≥ 3 a non-Wieferich number. Accordingly, we denote by W, U, and Q the sets of Wieferich numbers, non-Wieferich numbers, and Wieferich primes, respectively. Wieferich primes were first introduced in [21] in relation to the first case of Fermat’s Last Theorem. In that historical work, Wieferich showed that if q is an odd prime, and xq + yq + zq = 0 has a solution in integers x, y, z with q ∤ xyz, then necessarily q ∈ Q. Many other surprising links have been discovered between Wieferich primes and other (sometimes seemingly unrelated) number theoretic problems; see [10, 17, 19] for some examples, problems and further references. Despite the many efforts that were made to study Wieferich primes, very few theoretical or numerical results emerged. To this day, only two Wieferich primes have been discovered (q1 = 1093 was found by Meissner in 1913, and q2 = 3511 was found by Beeger in 1922; see, for example, [18] and also [5, 7, 15]); it is not known whether #Q > 2 or #Q = 2, and it is unknown whether or not there exist infinitely many “non-Wieferich” primes. Building on results of Agoh, Dilcher and Skula [1], it is easy to show that if Q is a finite set, then W is also finite; see Theorem 9 below. In particular, if Q = {1093, 3511}, then the set W contains exactly 104 numbers; these can
2 be determined precisely, the largest one being 16547533489305, and they are the only currently known examples of Wieferich numbers; see [1]. If S = W, U, or Q, or any other set of odd integers that we consider in the sequel, and x ≥ 3 is a real number, we then let S(x) ⊂ S be the set of positive odd integers n ≤ x such that n ∈ S. In this paper, we give estimates for #W(x) and #U(x) as x →∞. In Section 3, we show that #U(x) ≫ x/(log x)o(1) (see Theorem 5 for a more precise statement). Since #U(x)= x/2 − #W(x)+ O(1), this yields a nontrivial upper bound on #W(x) as x →∞. Rough heuristic arguments imply that the number #Q(x) of Wieferich primes q ≤ x should be about log2 x. Indeed, assuming that the quotient (2q−1 − 1)/q is equally likely to fall into any one of the congruence classes modulo q, the “probability” that
(2q−1 − 1)/q ≡ 0 (mod q) is about 1/q, which leads to the expected number 1 #Q(x) ∼ ∼ log x (2) q 2 q≤x of Wieferich primes q ≤ x. The same arguments, applied naively, lead to the conclusion that the number #W(x) of Wieferich numbers w ≤ x should be roughly 1 #W(x) ∼ ∼ log x. (3) n n≤x In Section 4, we derive conditional upper and lower bounds for #W(x) under various assumptions about the growth rate of #Q(x), including (2). Finally, in Section 5 we discuss some alternative ways to extend the notion of Wieferich primes to arbitrary odd integers. We also give some arguments which suggest that the conjecture (3) might be false and that, in fact, it is likely that log x log2 x #W(x) ≫ 2 . (4) (log3 x)
Acknowledgements. The authors wish to thank Glyn Harman and Filip Saidak for some useful conversations. The authors are also grateful to the anonymous referee for many valuable suggestions. In particular, these
3 suggestions lead to the heuristic estimate (4), sharpening our original esti- mate, and also to Theorem 6. During the preparation of this paper, W. B. was supported in part by NSF grant DMS-0070628, F. L. was supported in part by grants SEP-CONACYT 37259-E and 37260-E, and I. S. was sup- ported in part by ARC grant DP0211459.
2 General Results on Wieferich Numbers
For a prime p, we denote by νp(n) the p-adic valuation of an integer n ≥ 1; in other words, pνp(n) is the largest power of p dividing n. For an integer n ≥ 2, we denote by n∗ the squarefree kernel of n; that is, n∗ is the product of the distinct primes dividing n. The following characterization of Wieferich numbers is elementary (see, for example, Theorem 5.5 in [1] for a more general version of this result):
Lemma 1. An odd integer w ≥ 3 is a Wieferich number if and only if the inequality p−1 ∗ νp(w) ≤ νp(2 − 1) − 1+ νp(ϕ(w )) holds for every prime divisor p of w.
Let P (n) denote the largest prime divisor of an integer n ≥ 2.
Lemma 2. If w is a Wieferich number, then P (w) is a Wieferich prime.
Proof. Clearly, if w ≥ 2 and q = P (w), then q cannot divide ϕ(w∗); hence, ∗ q−1 νq(ϕ(w )) = 0. If w ∈ W, by Lemma 1, we have νq(2 − 1) ≥ 2; thus, q ∈ Q. On page 154 of [18], it is shown that Mersenne or Fermat primes cannot be Wieferich primes. Here, we show that this result can be extended to Wieferich numbers.
Theorem 3. If m > 1 is of the form m = 2n ± 1 for some positive integer n, then m is non-Wieferich.
Proof. Assume that m = 2n − 1. Clearly, n is the multiplicative order of 2 modulo m, that is, the smallest positive integer k with 2k ≡ 1 (mod m).
4 Therefore, n | ϕ(m). Now write ϕ(m) = nλ. If m ∈ W, then m2 | 2nλ − 1, therefore 2nλ − 1 0 ≡ =1+2n +22n + +2λn ≡ λ (mod 2n − 1). 2n − 1 Hence 2n −1 | λ, and therefore λ ≥ 2n −1. This leads to ϕ(2n −1) ≥ n(2n −1), which is impossible since n ≥ 2. The case in which m =2n + 1 can be handled similarly.
3 Non-Wieferich Numbers
In this section, we derive an unconditional lower bound for the number of odd non-Wieferich numbers w ≤ x. Our principal tool is a lower bound on the cardinality of the set Tp(x) of those odd positive integers n ≤ x such that every prime factor q of n satisfies q ≡ 1 (mod p), where p is an odd prime. The Fundamental Lemma of the Combinatorial Sieve (for example, see Theorem 3 in Chapter I.4 of [20]) can be used to show that log x log p #T (x)= x exp − 2 + O p (p − 1) p holds for primes p> log2 x, and the right side of this expression is an upper bound on #Tp(x) for all primes p. However, we need a lower bound on #Tp(x) for primes p ≤ log2 x, which is given by the following simplified and uniform version of a well-known theorem of Wirsing [22]:
Lemma 4. For any positive real number x and any odd prime p ≤ log2 x, log x #T (x) ≥ x exp − 2 + O(log x) . p (p − 1) 3 Proof. Let us define parameters w,z,k as follows:
log x p − 1 w = log x, z = exp , and k = log x . log2 x p − 2 2 2 Let M be the set of those squarefree integers m having precisely k prime factors q, all from the open interval (w, z) and satisfying q ≡ 1 (mod p).
5 Note that for every m ∈ M the inequality m < zk ≤ x1/3 holds (since 2/3 log2 x ≥ p ≥ 3), and therefore x/m ≥ x . Let n be any integer of the form n = mℓ, where m ∈M, and ℓ is a prime 1/2 in the interval (x , x/m] with ℓ ≡ 1 (mod p). Clearly, n ∈ Tp(x), and the integers n constructed in this way are distinct for different values of m. By the classical Page bound (see Chapter 20 of [6]), for each m ∈M the number of possibilities for ℓ is at least
p − 2 x x π(x/m) − π x1/2 − π(x/m;1,p) ≫ ≫ . p − 1 m log(x/m) m log x Consequently, x 1 #T (x) ≫ . (5) p log x m m ∈M We now show that the estimate 1 Sk = (1 + o(1)) (6) m k! m ∈M holds, where 1 S = . w