J.Aust. Math. Soc. 82(2007), 123-131

ON THE VALUE SET OF THE CARMICHAEL JL-FUNCTION

JOHN B. FRIEDLANDERS and FLORIAN LUCA

(Received 8 April 2005; revised 10 October 2005)

Communicated by W. W. L. Chen

Abstract

In this paper we study the size of the value set of the Carmichael ^.-function.

2000 subject classification: primary 11N25, 11N56.

1. Introduction

Let

1, is defined as usual as the number of elements in the multiplicative group (Z/nZ)* and hence is given by the product formula

The Carmichael function k is defined for each integer n > 1 as the largest order of any element in the multiplicative group (Z/nZ)x. More explicitly, for any prime power p", one has

„ [P"-'(P-1) if p>3 or v<2, P [2»-2 if /7 = 2 and v>3,

hence, on prime powers in the first (and more generic) case it coincides with the Euler function, while in the second case it is half as large. Unlike the multiplicative

© 2007 Australian Mathematical Society 1446-7887/07 $A2.00 + 0.00 123

Downloaded from https://www.cambridge.org/core. IP address: 170.106.202.58, on 23 Sep 2021 at 18:23:53, subject to the Cambridge Core terms of use, available at https://www.cambridge.org/core/terms. https://doi.org/10.1017/S144678870001750X 124 John B. Friedlander and Florian Luca [2] Euler function, the Carmichael function for an arbitrary integer n is given by the , rather than the product of, its prime power constituents, that is

v (1.1) k(n) = lcm[k(p i<),...,X(p?)],

v k where n = p\' • • • p k is the prime factorization of n. Note that k{\) = 1. Given a positive integer-valued arithmetic function, it is an interesting question to study the size of its image set. For any subset si of the positive integers, and for every positive real number x we put £?(x) = £?r\[l,x]. We write

if = {*(«) : n > 1}

and & for the corresponding image set of

#Jzf(*) > ^exp(c(l+o(l))(logloglog;t)2),

for a suitable positive constant c, which follows from either Theorem 1 or Theorem 2 of that paper. The same expression, with the same constant c, serves as both an upper and a lower bound for &(x), as was found by Maier and Pomerance [6]. Hence, although we expect that the set if (x) is rather larger than 0 follows from a result of Erdos and Wagstaff [3]. In this paper, we refine the argument of [3] and prove an explicit bound.

THEOREM 1.1. The inequality

^ (loglog;t)5/2+* (log*)"

holds for all x>3, where K = 1 - (e log 2)/2 = 0.057.... Actually, as indicated at the end of the proof, the method gives a slightly sharper result, although only so far as to improve the exponent of log log x.

Downloaded from https://www.cambridge.org/core. IP address: 170.106.202.58, on 23 Sep 2021 at 18:23:53, subject to the Cambridge Core terms of use, available at https://www.cambridge.org/core/terms. https://doi.org/10.1017/S144678870001750X [3] On the value set of the Carmichael X-function 125 The letters p and q will always denote prime numbers. For a positive integer n, we let P(n), co(n) and fi(n) denote the largest prime factor, the number of distinct prime factors, and the total number (including multiplicities) of prime factors of n, respectively. If z > 1 is any positive real number, we write coz(n) and £2z(n) for the number of distinct prime factors, and the total number of prime factors of n which are < z, respectively. For any integer t > 1, we write \ogtx for the £th iterate of the natural logarithm. We shall throughout, without comment, assume that the real variable argument of log,, is sufficiently large that these are defined and positive. Also, throughout the paper the implied constants in symbols '0' and '<§:' will be absolute.

2. Preliminary results

In this section we prove two lemmas which are needed for the proof of our Theo- rem 1.1.

LEMMA 2.1. Let z > 1 be any real number. We set a to be a positive real in the interval (0, 1). Let

&z,a = {p prime: P{p - 1) > z, P(p- 1) II/> - I and co(p- 1) < a log log/?}.

Then the estimate

holds uniformly for t > z > 3, where the implied constant is absolute.

PROOF. Let p e ^z(t), where for simplicity we omit the subscript a. Then p — 1 = qm, where q = P(p — 1). Clearly, P(m) < q. Fix m. By Brun's sieve (see, for example, [5]), the number of primes p < t such that p = 1 (mod m) and (p — \)/m is prime is

Since t/m > q = P(p — 1) > z, it follows that the above expression is t ^ (m)(logz)2 ' Note that m is even and

co(m) = a>(p — 1) - 1 < a log2 p < a log2 f.

Downloaded from https://www.cambridge.org/core. IP address: 170.106.202.58, on 23 Sep 2021 at 18:23:53, subject to the Cambridge Core terms of use, available at https://www.cambridge.org/core/terms. https://doi.org/10.1017/S144678870001750X 126 John B. Friedlander and Florian Luca [4]

Put K = \ct log21\. Summing over all the possible values of m, we get

= £m<,, a(m)=k(l/Hm)). Clearly,

Thus,

Since a < 1, one can easily verify that in the last sum above, the final term is the largest one. Using this observation and Stirling's formula, we get

1/2 f(log2f) / <

<<: (logz)2(logf)-°'lo8(<'/a)' which completes the proof of the lemma. • If 1 < y < x, we write 4>(;c;y) =#{n

LEMMA 2.2. Let z > 1- Let fi be a real in the interval (0, 1).

.0^ = [n : wz(n) < p log2 z}. T/ien f/ie estimate 3/2 '(log2z) «

holds uniformly for t > z > 3, wftere //ie implied constant is absolute.

PROOF. Let n G srfz(t), where, again for simplicity, we omit the subscript p. Then n = uv, where u and v are coprime, P(u) < z, (o(u) < piog2z, and every prime

Downloaded from https://www.cambridge.org/core. IP address: 170.106.202.58, on 23 Sep 2021 at 18:23:53, subject to the Cambridge Core terms of use, available at https://www.cambridge.org/core/terms. https://doi.org/10.1017/S144678870001750X [5] On the value set of the Carmichael X-function 127 factor of v exceeds z. We fix u. Then v < t/u is free of primes q < z. By Brun's sieve, the number of such positive integers is <3C t/(u logz). Summing over all the possible values of u, we get 1

where L = L£log2zJ. Let Tk = E,SiWSi8(,H l/«. Clearly,

k

Thus,

Since j8 < 1, one can easily verify that in the sum above, the last term is the largest one. Using this observation and Stirling's formula, we obtain

t (2.2) #^(0«^l(log2z + 0(l))

1/2 r(log2z) /gg2z + Q()\

logz V £log2z / which completes the proof of the lemma. •

3. The proof of Theorem 1.1

PROOF. Let x be a large positive real number. We putv = exp (log x log3 x/ log2 x), and write S£\{x) = {m < x : P(m) < y}. It is well-known (see, for example, [8, Chapter III.5]) that

where u = log x/ log y. Since u — log2 x/ log3 x, a quick calculation shows that

(3.1) #if,W < i

We now look at numbers /n = \(n),m y of w. From formula (1.1) for A, we conclude that either q2\n,

Downloaded from https://www.cambridge.org/core. IP address: 170.106.202.58, on 23 Sep 2021 at 18:23:53, subject to the Cambridge Core terms of use, available at https://www.cambridge.org/core/terms. https://doi.org/10.1017/S144678870001750X 128 John B. Friedlander and FlorianLuca [6]

hence q(q — l)|m, or there exists a p\n such that P(p — 1) = q > y.

In the first case, denoting the set by J£f2, the number of such numbers m < x does not exceed

^— «xY-2 «~ =o

From now on, we need only look at numbers m € if {x)\J£\(x) such that p — 1 \m for some prime number p with P(p — 1) > y. Let q = P(p — 1). In the case that 2 q \m, writing _£?3 for the set of such m, the number of such numbers m < x does not exceed

£49 q>y " q>y Hence, from now on we can assume that q\\m. In particular, P(p — 1) || (p — 1).

Of these remaining m < x, let -S?4(;c) be the subset for which we also have a>(p — 1) <

a log2 p, where a € (0,1) will be fixed later. In this case, p € Py(x). Furthermore, since p — \\m, the number of such positive integers m < x does not exceed

A •r—r 1 -—j- «* 2^ -• V p65»y(jt) P pe ~ By estimate (2.1) and partial summation, we get

t2

1/2 (Iog2;t) 2 alog(e/o > Jy (log>') (log0"' '

(log ^(log*)-010^0) + (log y)

Hence,

(3.2)

Let &s{x) be the set of those m € ££(x) not yet considered and such that there exists a prime p < A; with p — \\m and m/(p — 1) e ^,, for some value of ^ to be

Downloaded from https://www.cambridge.org/core. IP address: 170.106.202.58, on 23 Sep 2021 at 18:23:53, subject to the Cambridge Core terms of use, available at https://www.cambridge.org/core/terms. https://doi.org/10.1017/S144678870001750X [7] On the value set of the Carmichael X-function 129 fixed later. Lemma 2.2 tells us that for p a given prime, the number of such m e %?$ (x) is 3 2 ^ x(log2y) '

Summing this inequality over all possible values of p, we get

(33)

Finally, we let Ji?6(x) denote the set of remaining m g _Sf (x). Such positive integers m have the property that p — 1 \m holds with some prime p such that P(p — 1) > y, (t>(p — 1) > «log2 P, and furthemore, cop(m/(p — 1)) > /? log2 p. This implies that

w(p - 1) + cop(m/p - 1) > (a + yS) log2 p > (a + £) log2 y.

Note that log2 y = log (log x log3 x/ log2 x) = log2 x - log3 x + log4 x. Put

We have ^(JC) c {m < x : Q(m) > ^(x) log2x}. We shall choose our constants so that a + P > 1 and this will make the latter set small. Specifically, a result of Norton [7] shows that

X #5?6(x) « exp (-(1 - S(x) log(e/<5(;t))) log2x) . (log2 x)

If we set r](x) = (log3 x — log4 x)/ log2 x, we then have

S(x)\og(e/S(x)) = (a + /3)(1 - r,(x))log (-^— (l + r,(x) + O(n(x)2)))

= (ot + £)(1 - r,(x)) Hog (^-g) + n(x) + O(r](x)2)\

= (a + p) log

where we have set y = (a + ft — log(e/(a + /?)). We get that

P) log ( -^— J j Jlog j2 x - y(log3 x - log4 x)

Downloaded from https://www.cambridge.org/core. IP address: 170.106.202.58, on 23 Sep 2021 at 18:23:53, subject to the Cambridge Core terms of use, available at https://www.cambridge.org/core/terms. https://doi.org/10.1017/S144678870001750X 130 John B. Friedlander and FlorianLuca [8] therefore

(3.4)

Optimizing the exponent of log* among #j£?4(;c), #Jz?5(x) and #^f6{x) (see (3.2)- (3.4)), we get a = /3 and 1 - a log(e/a) = 1 - (a + fi) log(e/(a + £)). This gives a = e/A, y = e/2 - log 2 = .66599 ..., 1 - a log(e/a) = 1 - e log 2/2 = 0.0579..., leading to the bound

The theorem now follows from estimates (3.2)-(3.4) and the stronger bounds for _§?],

Jf2» -^3. in fact in the slightly sharper form

iOoglogje)5/2+*Oogloglog*)-

Acknowledgments

Most of this paper was written during a very enjoyable visit by the first author to the Mathematical Institute of the UNAM in Morelia, Mexico. This author wishes to express his thanks to that institution for the hospitality and support. Research of J. F. is also partially supported by NSERC grant A5123 and a Killam Research Fellowship.

References

[1] W. D. Banks, J. B. Friedlander, F. Luca, F. Pappalardi and I. E. Shparlinski, 'Coincidences in the values of the Euler and Carmichael functions', Acta Arith. 122 (2006X 207-234. [2] P. Erdos, C. Pomerance and E. Schmutz, 'CarmichaePs lambda function', Acta Arith. 58 (1991), 363-385. [3] P. Erdos and S. S. Wagstaff Jr., "The fractional parts of the Bernoulli numbers', Illinois J. Math. 24 (1980), 104-112. [4] K. Ford, 'The distribution of totients', Ramanujan J. 2 (1998), 67-151.

Downloaded from https://www.cambridge.org/core. IP address: 170.106.202.58, on 23 Sep 2021 at 18:23:53, subject to the Cambridge Core terms of use, available at https://www.cambridge.org/core/terms. https://doi.org/10.1017/S144678870001750X [9] On the value set of the Carmichael X-function 131

[5] H. Halberstam and H.-E. Richert, Sieve methods (Academic Press, London, UK, 1974). [6] H. Maier and C. Pomerance, 'On the number of distinct values of Euler's 0 function', Acta Arith. 49 (1988), 263-275. [7] K. K. Norton, 'On the number of restricted prime factors of an integer. I', Illinois J. Math. 20 (1976), 681-705. [8] G. Tenenbaum, Introduction to analytic and probabilistic (University Press, Cam- bridge, UK, 1985).

Department of Mathematics Institute) de Matematicas University of Toronto Universidad National Autonoma de Mexico Toronto, Ontario M5S 3G3 C.P. 58180, Morelia, Michoacan Canada Mexico e-mail: [email protected] e-mail: [email protected]

Downloaded from https://www.cambridge.org/core. IP address: 170.106.202.58, on 23 Sep 2021 at 18:23:53, subject to the Cambridge Core terms of use, available at https://www.cambridge.org/core/terms. https://doi.org/10.1017/S144678870001750X