<<

Bull. Korean Math. Soc. 50 (2013), No. 6, pp. 1981–1988 http://dx.doi.org/10.4134/BKMS.2013.50.6.1981

GENERALIZED CULLEN NUMBERS WITH THE LEHMER PROPERTY

Dae-June Kim and Byeong-Kweon Oh

Abstract. We say a positive n satisfies the Lehmer property if φ(n) divides n − 1, where φ(n) is the Euler’s totient function. Clearly, every prime satisfies the Lehmer property. No composite integer satisfy- ing the Lehmer property is known. In this article, we show that every n composite integer of the form Dp,n = np +1, for a prime p and a positive integer n, or of the form α2β +1 for α ≤ β does not satisfy the Lehmer property.

1. Introduction A composite integer n is called a Lehmer number if φ(n) divides n − 1, where φ(n) is the Euler’s totient function. Hence every Lehmer number is a and it is a product of distinct odd primes. In 1932 Lehmer proved in [5] that every Lehmer number is a product of at least 7 distinct odd primes and asked whether or not a Lehmer number exists. In 1980 Cohen and Hagis [2] extended Lehmer’s result in such a way that every Lehmer number is a product of at least 14 distinct odd primes. At present no Lehmer number is known. Recently it was proved that certain sequences of such as the Fibonacci sequence do not contain a Lehmer number (see, for example, [1], [6]). n An integer of the form Cn = n2 + 1 for some integer n is called a . Though Hooley proved in [4] that Cullen numbers are composite in some sense, it is conjectured that there are infinitely many prime Cullen numbers. Recently, Grau Ribas and Luca proved in [3] that every Cullen number is not a Lehmer number. Motivated their proof, we prove that there n does not exist a Lehmer number of the form Dp,n := np + 1, where n is an arbitrary integer and p is prime. Also we show that an integer of the form α2β +1 for α ≤ β is not a Lehmer number, where α is an odd integer.

Received August 24, 2012; Revised April 9, 2013. 2010 Subject Classification. 11A05, 11N25. Key words and phrases. Euler’s totient function, generalized Cullen number, Lehmer property. This work was supported by the Korea Foundation for the Advancement of Science & Creativity(KOFAC), and funded by the Korean Government(MEST).

c 2013 The Korean Mathematical Society 1981 1982 DAE-JUNEKIMANDBYEONG-KWEONOH

2. Generalized Cullen numbers with the Lehmer property We say an integer n satisfies the Lehmer property if φ(n) divides n − 1. Clearly every prime satisfies the Lehmer property, and a Lehmer number is a composite integer satisfying the Lehmer property. An integer of the form n Dp,n := np + 1 is called a generalized Cullen number, where n and p are positive integers. In this section we show that every generalized Cullen number satisfying the Lehmer property is prime, where p is an odd prime. Assume that n k φ(Dp,n) divides Dp,n − 1= np . Then we have Dp,n = i=1 pi, where pi’s are distinct odd primes. Since k ≥ 14 by [2], the integer n isQ divisible by 214. Lemma 2.1. With the above notations, we have n1/2 2n1/2 min , 1+ n. If we write Dp,n = qλ, then we have D npn +1 λ = p,n ≤ < n. q pn+1 +1 Furthermore, since

n nq n Dp,n = qλ = np +1 ≡ 1 ≡ (mqp + 1)λ ≡ λ (mod p ), the integer λ − 1 is divisible by pn, which is a contradiction. Therefore we have nq ≤ n. n For an integer N = ⌊ log n ⌋, consider all pairs (a,b) of integers such that q 2 n 0 ≤ a,b ≤ N. Clearly, the number of such pairs (a,b) is (N + 1) > log n . For 3 2 2n / each pair (a,b), define L(a,b) := an + bnq. Since 0 ≤ L(a,b) ≤ (log n)1/2 for each possible pair (a,b), there exist two pairs (a,b) 6= (a1,b1) such that 2n3/2/(log n)1/2 |(a−a )n+(b−b )n | = |L(a,b)−L(a ,b )|≤ < 3(n log n)1/2. 1 1 q 1 1 n/ log n − 1

1Some part of the proof in Section 2 of [3] is not correct. Professor Luca kindly sent an erratum to the first author. GENERALIZED CULLEN NUMBERS WITH THE LEHMER PROPERTY 1983

If we define u = a − a1, v = b − b1, then (u, v) 6= (0, 0) and |un + vnq| < 3(n log n)1/2. Furthermore we may assume that gcd(u, v) = 1 and u ≥ 0 by changing (u, v) suitably. Since

n nq np ≡−1 (mod q) and mqp ≡−1 (mod q),

u v nu+nq v u+v we have n mq p ≡ (−1) (mod q). Now we define

u v nu+nq v u+v u v (n+α)u+nq v u+v Aq := n mq p − (−1) = n1 mq p − (−1) .

u v (n+α)u+nq v u+v First, suppose that Aq = n1 mq p − (−1) = 0. Then we have

u v n1 mq =1, (n + α)u + nqv = 0 and u + v ≡ 0 (mod 2).

−v u Therefore there exists a positive integer ρ such that n1 = ρ , mq = ρ . Since u, v are relatively prime and u + v is even, both u and v are odd. Since mq|n1, α −v we have u ≤−v. Furthermore since (p ρ + α)u + nqv = 0, nq is divisible by nq u nq u nq /u u. Thus q = mqp +1= ρ p +1= X +1, where X = ρp is an integer. If u> 1, then q = Xu + 1 has a X + 1, which is a contradiction. Thus α u =1. If v = −1, then mq = n1 = ρ and nq = p ρ+α = n+α. This implies that q = Dp,n, which is a contradiction to the assumption that Dp,n is a composite −v −(α+n)/v n −1/v number. Thus v ≤−3, n1 = ρ and q = ρp +1=(np ) + 1. Now we will show that there is at most one prime factor q of Dp,n satisfying the above properties. To show this, assume that q1, q2 are such prime factors. n 1/wi Let qi = (np ) + 1 for each i =1, 2 and without loss of generality, assume wi that w1 < w2. Note that n1 = ρi and wi | (n + α) for each i = 1, 2. If W we define W := lcm(w1, w2), then there exists a ρ0 such that n1 = ρ0 . If λ we write W = w1λ for some positive odd integer λ, then ρ0 = ρ1. Thus (α+n)/w1 λ (α+n)/W q1 = ρ1p +1= Y +1, where Y = ρ0p . This is a contradiction λ for the prime q1 = Y + 1 has a divisor Y +1. Thus there is at most one prime factor q of Dp,n such that Aq = 0. Furthermore such a prime exists, w n 1/w n 1/3 then n1 = ρ for some w ≥ 3 and q = (np ) +1 ≤ (np ) + 1. If Aq 6= 0, then we have

1+|nu+nq v| u |v| q ≤ numerator of Aq ≤ p n mq 1/2 1/2 1/2 1/2 ≤ p1+3(n log n) n2(n/ log n)

1/2 1/2

14 1/2 Note that since n is divisible by 2 ,1 < 0.005(n log n) . Therefore if Aq 6=0 for every prime factor q of Dp,n, then

k k 1/2 1/2 n sp,nn k(sp,nn ) p ≤ Dp,n = pi < p = p , iY=1 iY=1 1984 DAE-JUNEKIMANDBYEONG-KWEONOH

1/2 which implies that k > n . Suppose that there exists a prime factor q′ of sp,n ′ n 1/3 Dp,n such that Aq′ = 0. Since q ≤ (np ) + 1, we have n np Dp,n 1/2 1/2 p2n/3 < < < psp,nn ≤ p(k−1)sp,nn , (npn)1/3 +1 q′ 1≤Yi≤k = ′ pi6 q

1/2 which implies that k> 1+ 2n . Therefore we have 3sp,n n1/2 2n1/2 k> min , 1+ ,  sp,n 3sp,n  which is the desired result. 

Lemma 2.2. Let p be an odd prime. If Dp,n satisfies the Lehmer property, then n =2m for some integer m greater than 13.

k Proof. Assume that Dp,n = i=1 pi, where pi’s are distinct odd primes. Since k n ni φ(Dp,n)= i=1(pi − 1) dividesQ Dp,n − 1= np , we may write pi = mip + 1, k where i=1Qmi divides n and is relatively prime to p. We assume that mi ≥ mj if andQ only if i ≤ j. Since 3.005+2/ log p< 4.83, we have n1/2 n1/2 min , 1+

α Moreover there is at most one i such that pi is of the form of 6p + 1. Assume that p1

p1,p2 ≥ 7, p3,p4 ≥ 19, p5,p6 ≥ 163, p7,p8 ≥ 487, p9,p10 ≥ 1459, p11,p12 ≥ 13123 and p13,p14 ≥ 39367. From this follows D − 1 14 1 2 ≤ p,n = 1+ < 1.6, φ(D )  p − 1 p,n Yi=1 i which is a contradiction. The proofs for the remaining two cases are quite similar. 

Theorem 2.3. If an integer Dp,n satisfies the Lehmer property, then it is prime.

Proof. Since n = 2m < 180, 000 for some integer m by the above lemma, we have 14 ≤ m ≤ 17. Moreover since k< 1.45 log n< 17.6, we have 14 ≤ k ≤ 17. k 17 On the other hand, since i=1 mi | n | 2 and mi is even, we have following seven possibilities: mi = 2Q for all i ≥ 4 and s (m1,m2,m3)=(2 , 2, 2) where 1 ≤ s ≤ 4, (8, 4, 2), (4, 4, 2) and (4, 4, 4). Since all the other cases can be done in a similar manner, we only consider the case when (m1,m2,m3)=(4, 4, 2). In this case

n1 n2 ni p1 =4p +1, p2 =4p + 1 and pi =2p +1 for 3 ≤ i ≤ k.

Without loss of generality, we assume that n1 < n2 and n3 < ··· < nk. Note that m 2mp2 +1=(4pn1 + 1)(4pn2 + 1)(2pn3 + 1) ··· (2pnk + 1). s s+1 s s+1 If n1 6= n3, then 1 ≡ 4p + 1 (mod p ) or 1 ≡ 2p + 1 (mod p ), where s = min(n1,n3). This is a contradiction. Therefore we have n1 = n3. If ni ≥ 1 for any i, then

k k D − 1 1 1 1 1 2 ≤ p,n = (1 + )=(1+ )(1 + ) (1 + ) φ(D ) p − 1 4pn1 4pn2 2pni p,n iY=1 i iY=3 17 1 1 1 ≤ (1 + )(1 + ) (1 + ) < 1.51, 12 12 2 × 3i−2 Yi=3 which is a contradiction. Thus n1 = n3 = 0. Since m 2mp2 + 1 = (4 + 1)(2 + 1)(4pn2 + 1)(2pn4 + 1) ··· (2pnk + 1),

ni the prime p should be 7. This is also contradiction because pi =2 × 7 + 1 is divisible by 3. This completes the proof.  1986 DAE-JUNEKIMANDBYEONG-KWEONOH

3. Arbitrary case Assume that an integer n satisfies the Lehmer property. Let α be a positive odd integer and let β be an integer such that n − 1 = α2β. Let us write k k n = i=1 pi, where pi’s are distinct odd primes. Then φ(n) = i=1(pi − 1) β β dividesQ n − 1 = α2 . Since (pi − 1) divides α2 , there exist anQ odd integer npi mpi |α and npi ≤ β such that pi = mpi 2 +1 for any i =1, 2,...,k. Lemma 3.1. With the above notations, we have log β log α k< 1+ + . log 2 log 3

np Proof. Let p = pi be a prime dividing n. Assume that mp = 1. Since p =2 +1 γ is prime. the integer np should be a power of 2. Let np =2 for some integer log β log β γ. Since np ≤ β, we have 0 ≤ γ < log 2 . Thus there are at most log 2 + 1 prime factors of n such that mp = 1. Now assume that mp > 1. Since p|n mp divides α, the number of such logQ α prime factors is less than or equal to log 3 . Therefore we have log β log α k< 1+ + , log 2 log 3 which is the desired result.  Lemma 3.2. With the above notations, if β ≥ 30, then we have β1/2 2β1/2 k> min , 1+ ,  tα,β 3tα,β  1/2 1/2 where tα,β =3.1(log β) + (2.9 log α)/(log β) .

β Proof. First we let N = ⌊ log β ⌋. By applying the same argument in Lemma q 2.1, we may find a pair (u, v) of integers satisfying u ≥ 0, gcd(u, v) = 1, 1/2 1/2 |u|, |v| < (β/ log β) and |uβ + vnp| < 3(β log β) . Let p = pi be a prime factor of n. Since

β np α2 ≡−1 (mod p) and mp2 ≡−1 (mod p),

u v βu+npv u+v we have α mp2 ≡ (−1) (mod p). Now we define

u v βu+npv u+v Ap := α mp2 − (−1) .

By replacing α and β with n1 and n in Lemma 2.1, respectively, one may easily show the following: there is at most one prime factor p of n such that −v Ap = 0, and in this case, α is of the form ρ for a suitable integer ρ, and β −1/v β 1/3 p = (α2 ) +1 ≤ (α2 ) + 1. Moreover, when Ap 6= 0, we have 1 2 1 2 1+|βu+n v| u |v| 1+3(β log β) / 2(β/ log β) / p ≤ numerator of A< 2 p α mp ≤ 2 α 1/2 1/2 < 21+3(β log β) +(2 log α)(β log β) 1/2 1/2 1/2 < 23.1(β log β) +(2.9 log α)(β/ log β) =2tα,β β . GENERALIZED CULLEN NUMBERS WITH THE LEHMER PROPERTY 1987

1/2 Note that since β ≥ 30, 1 < 0.1(β log β) . Thus, if Ap 6= 0 for every prime factor p of n, then

k k 1/2 1/2 β tα,ββ ktα,β β 2

1/2 which implies that k > β . Suppose that there exists a prime factor p′ of n tα,β ′ β 1/3 with Ap′ = 0. Since p ≤ (α2 ) + 1, we have

β α2 +1 n 1/2 22β/3 < ≤ = p < 2(k−1)tα,β β , (α2β)1/3 +1 p′ i 1≤Yi≤k = ′ pi6 p

1/2 which implies that k> 1+ 2β . The lemma follows.  3tα,β

Corollary 3.3. If max(α, 30) ≤ β, then we have

β1/2 β1/2 min , 1+

Theorem 3.4. If n = α2β + 1 (α ≤ β) satisfies the Lehmer property, then it is prime.

Proof. Since the number of prime factors of n is greater than or equal to 14, we may assume that β ≥ 30. From Corollary 3.3, we have β < 1.4 × 106. Assume γ γ that a Fermat prime 22 +1 is a factor of n. Since 22 divides α2β, we have 2γ <β< 1.4 × 106. Thus we have γ ≤ 20, and in fact, γ ∈ {0, 1, 2, 3, 4}. On the other hand, the number of prime factors p of n with mp > 1 is less than log α log β or equal to log 3 < log 3 ≤ 12.9. Hence, we have k ≤ 5+12 = 17. Again by Corollary 3.3, we have

β1/2 β1/2 min , 1+ < 17. 6(log β)1/2 9(log β)1/2  Hence, β < 260, 000. Suppose that α is not divisible by 3. Then the number of prime factors log 260,000 p of n such that mp > 1 is less than or equal to log 5 < 7.8. Hence k ≤ 5 + 7 = 12, which is a contradiction by [2]. Therefore α is divisible by 3 and n is not divisible by 3. Consequently, γ 6= 0 and k ≤ 4+11= 15. Now by Corollary 3.3 again, we have

β1/2 β1/2 min , 1+ < 15. 6(log β)1/2 9(log β)1/2  1988 DAE-JUNEKIMANDBYEONG-KWEONOH

Therefore we have β < 200, 000.

Assume that there is a prime q> 3 dividing mpi for some i. Then k 9 k−5 3 · q ≤ 3 · q ≤ mpi ≤ α ≤ β < 200, 000. Yi=1 k a b c Hence, q =5 or7. If i=1 mpi =3 · 5 · 7 , then 3a · 5b Q· 7c ≤ α ≤ 200, 000 and 10 ≤ a + b + c. Therefore all possible (a,b,c)’s are (11, 0, 0), (10, 0, 0), (9, 1, 0), (9, 0, 1) and (8, 2, 0). Assume that b 6= 0. Since γ 6= 1 in this case, we have k ≤ 13. This is a contradiction. For each remaining (a,b,c), one may easily check that 3a · 5b · 7c · 2β +1 6≡ 0 (mod257) and 311 · 2β +1 6≡ 0 (mod 17) for any β. Hence, γ 6= 3 and γ 6= 2 if a = 11. Therefore k ≤ 13 in all cases. This completes the proof. 

3/14 Remark 3.5. If eβ /6 >α>β ≥ 1010, then one may also show that a composite n = α2β + 1 does not satisfy the Lehmer property by using a similar method. References

[1] J. Cilleruelo and F. Luca, Lehmer numbers, Proc. Edinb. Math. Soc. (2) 54 (2011), no. 1, 55–65. [2] G. L. Cohen and P. Hagis Jr., On the number of prime factors of n if φ(n)|(n−1), Nieuw. Arch. Wisk. (3) 28 (1980), no. 2, 177–185. [3] J. M. Grau Ribas and F. Luca, Cullen numbers with the Lehmer property, Proc. Amer. Math. Soc. 140 (2012), no. 1, 129–134. [4] C. Hooley, Applications of Sieve Methods to the Theory of Numbers, Cambridge Tracts in Mathematics, No. 70. Cambridge University Press, Cambridge-New York-Melbourne, 1976. [5] D. H. Lehmer, On Euler’s totient function, Bull. Amer. Math. Soc. 38 (1932), no. 10, 745–757. [6] F. Luca, Fibonacci numbers with the Lehmer property, Bull. Pol. Acad. Sci. Math. 55 (2007), no. 1, 7–15.

Dae-June Kim Department of Mathematical Sciences Seoul National University Seoul 151-747, Korea E-mail address: [email protected]

Byeong-Kweon Oh Department of Mathematical Sciences and Research Institute of Mathematics Seoul National University Seoul 151-747, Korea E-mail address: [email protected]