THE LEAST COMMON MULTIPLE OF RANDOM SETS OF POSITIVE INTEGERS JAVIER CILLERUELO, JUANJO RUÉ, PAULIUS ŠARKA, AND ANA ZUMALACÁRREGUI Abstact. We study the typical behavio of the least coon ultiple of the eleents of a ando subset A {1,..., n}. Fo exaple we pove that lc{a : a A} 2 n(1+o(1 fo alost all subsets A {1,..., n}. 1. Intoduction The function ψ(n log lc { : 1 n} was intoduced by Chebyshev in his study on the distibution of the pie nubes. It is a well known fact that the asyptotic elation ψ(n n is equivalent to the Pie Nube Theoe, which was poved finally by Hadaad and de la Vallée Poussin. In the pesent pape, instead of consideing the whole set {1,..., n}, we study the typical behavio of the quantity ψ(a : log lc{a : a A} fo a ando set A in {1,..., n} when n. We conside two natual odels. In the fist one, denoted by B(n, δ, each eleent in A is chosen independently at ando in {1,..., n} with pobability δ δ(n, typically a function of n. Theoe 1.1. If δ δ(n < 1 and δn then ψ(a n δ log(δ 1 asyptotically alost suely in B(n, δ when n. The case δ 1, which coesponds to the asyptotic estiate fo the classical Chebyshev function, appeas as the liiting case, as δ tends to 1, in Theoe 1.1, since li δ 1 δ log(δ 1 1 δ 1. When δ 1/2 all the subsets A {1,..., n} ae chosen with the sae pobability and Theoe 1.1 gives the following esult. Coollay 1.1. Fo alost all sets A {1,..., n} we have that lc{a : a A} 2 n(1+o(1. Fo a given positive intege k k(n, again typically a function of n, we conside the second odel, whee each subset of k eleents is chosen unifoly at ando aong all sets of size k in {1,..., n}. We denote this odel by S(n, k. When δ k/n the heuistic suggests that both odels ae quite siila. Indeed, this is the stategy we follow to pove Theoe 1.2. 1
2 J. CILLERUELO, J. RUÉ, P. ŠARKA, AND A. ZUMALACÁRREGUI Theoe 1.2. Fo k k(n < n and k we have ψ(a k log(n/k 1 k/n ( 1 + O(e C log k alost suely in S(n, k when n fo soe positive constant C. The case k n, which coesponds to Chebyshev s function, is also obtained as a liiting case in Theoe 1.2 in the sense that li k/n 1 log(n/k 1 k/n 1. This wok has been otivated by a esult of the fist autho about the asyptotic behavio of ψ(a when A A q,n : {q( : 1 q( n} fo a quadatic polynoial q(x Z[x]. We wondeed if that behavio was typical aong the sets A {1,..., n} of siila size. We analyze this issue in the last section. 2. Chebyshev s function fo ando sets in B(n, δ. Poof of Theoe 1.1 The following lea povides us with an explicit expession fo ψ(a in tes of the Mangoldt function log p if p k fo soe k 1 Λ( 0, othewise. Lea 2.1. Fo any set of positive integes A we have ψ(a Λ(I A(, whee Λ denotes the classical Von Mangoldt function and { 1 if A {, 2, 3,... }, I A ( 0 othewise. Poof. We obseve that fo any positive intege l, the nube log l can be witten as log l p k l log p, whee the su is taken ove all the powes of pies. Thus, using that pk lc{a : a A} if and only if A {p k, 2p k, 3p k,... }, we get log lc(a : a A log p (log pi A (p k Λ(I A (. p k p k lc(a: a A Note that if A {1,..., n} then ψ(a n Λ( is the classical Chebychev function ψ(n. 2.1. Expectation. Fist of all we give an explicit expession fo the expected value of the ando vaiable X ψ(a whee A is a ando set in B(n, δ. Poposition 2.1. Fo the ando vaiable X ψ(a in B(n, δ we have E (X n δ log(δ 1 + δ R ( 1, 1 whee R(x ψ(x x denotes the eo te in the Pie Nube Theoe.
THE LEAST COMMON MULTIPLE OF RANDOM SETS OF POSITIVE INTEGERS 3 Poof. The abiguous case δ 1 ust be undestood as the liit as δ 1, which ecoves the equality ψ(n n + R(n. In the following we assue that δ < 1. By lineaity of the expectation, Lea 2.1 clealy iplies E(X n Λ(E(I A (. Since E(I A ( P(A {, 2,... } 1 n/ P( A 1 ( n/, we obtain (1 E(X ( Λ( 1 ( n/. n n We obseve that n/ wheneve +1 < n, so we split the su into intevals J +1, n ], obtaining E (X (1 ( Λ( J 1 ( ( 1(1 ψ δ ψ ( 1 1 δn 1 n δ log(δ 1 ( 1 Coollay 2.1. If δ δ(n < 1 and δn then fo soe constant C > 0. E (X n δ log(δ 1 ψ + 1 + δ R ( 1. 1 + δ R ( 1. 1 ( ( 1 + O e C log(δn. Poof. We estiate the absolute value of su appeaing in Poposition 2.1. Fo any positive intege T and using that R(y < 2y fo all y > 0 we have R (n/ ( 1 R (n/ ( 1 + R (n/ ( 1 1 n 1T 1T ( n ax x n/t n log(δ 1 ( T +1 R (n/ ( 1 + 2n ( 1 (n/ T +1 R(x ( 1 + 2n ( 1 x 1T T +1 ( R(x ax + 2n ( T x n/t x T + 1 δ Taking into account that ( T < e δt and the known estiate ax x>y R(x x e C1 log y
4 J. CILLERUELO, J. RUÉ, P. ŠARKA, AND A. ZUMALACÁRREGUI fo the eo te in the PNT, we have 1 R (n/ ( 1 n log(δ 1 ( e C log(n/t + n e δt δt. Thus we have poved that fo any positive intege T we have ( ( 1 + O e C log(n/t + O E(X n δ log(δ 1 We take T δ 1 log(δn to iniize the eo te. ( e δt log(δ 1. δt To estiate the fist eo te we obseve that log(n/t log(δn/ log(δn log(δn, so e C log(n/t e C1 log(δn fo soe constant C 1. To bound the second eo te we siply obseve that δt > 1 and that 1 δ log(δ 1 1 and we get a siila uppe bound. 2.2. Vaiance. Poposition 2.2. Fo the ando vaiable X ψ(a in B(n, δ we have V (X δn log 2 n. Poof. By lineaity of expectation we have that V (X E ( X 2 E 2 (X Λ(Λ(l (E (I A (I A (l E (I A ( E (I A (l.,ln We obseve that if Λ(Λ(l 0 then l, l o (, l 1. Let us now study the te E(I A (I A (l in these cases. (i If l then (ii If (l, 1 then E(I A (I A (l 1 ( n/. E(I A (I A (l 1 ( n/ ( n/l + ( n/ + n/l n/l. Both of these elations ae subsued in E(I A (I A (l 1 ( n/ ( n/l + ( n/ + n/l n(,l/l. Theefoe, it follows fo (1 that fo each te in the su we have Λ(Λ(l (E (I A (I A (l E (I A ( E (I A (l Λ(Λ(l( n/ + n/l n(,l/l ( 1 ( n(,l/l. Finally, by using the inequality 1 (1 x x we have and theefoe: Λ(Λ(l (E (I A (I A (l E (I A ( E (I A (l δn Λ(l l V (X 2δn 1ln Λ(l l Λ( (, l. Λ( (, l,
THE LEAST COMMON MULTIPLE OF RANDOM SETS OF POSITIVE INTEGERS 5 We now split the su accoding to l o (l, 1 and estiate each one sepaately. 1ln l Λ(l l 1ln (l,1 Λ( Λ(l l as we wanted to pove. (, l pn 1i Λ( (, l 1ln log p p i Λ(l l log p p i p pn 1n 1i i log 2 p p i log 2 n, Λ( log 2 n, We finish the poof of Theoe 1.1 by obseving that V (X o(e(x 2 when δn, so X E(X asyptotically alost suely. 3. Chebyshev s function fo ando sets in S(n, k. Poof of Theoe 1.2 Let us conside again the ando vaiable X ψ(a, but in the odel S(n, k. Fo now on E k (X and V k (X will denote the expected value and the vaiance of X in this pobability space. Clealy, fo s 1, 2 we have E k (X s V k (X 1 ψ s (A k A k Lea 3.1. Fo s 1, 2 and 1 < k we have that 1 (ψ(a E k (X 2 k A k E (X s E k (X s E (X s + (k s s log s n. Poof. Suppose < k. Thee ae ( ( n k ways to add k new eleents to a set A [n] in ode to obtain a subset of ( [n] k. Obseve that the function ψ is onotone with espect to inclusion, i.e. ψ (A A ψ(a fo any sets A, A. Theefoe it is clea that, fo s 1, 2, we have ( 1 n ψ s (A ψ s (A A, k and then A ψ s (A A A A k ( 1 n ψ s (A A k A A A, A k ( 1 n ψ s (A k A k A A A A, A k ( 1 n ψ s (A k A k ( n ψ s (A, k A k A A A A, A k 1
6 J. CILLERUELO, J. RUÉ, P. ŠARKA, AND A. ZUMALACÁRREGUI and the fist inequality follows. Fo the second inequality we obseve that fo any set A ( [n] k and any patition into two sets A A A with A, A k we have that ψ(a ψ(a +ψ(a ψ(a +(k log n. Siilaly, ψ 2 (A (ψ(a + (k log n 2 ψ 2 (A + 2ψ(A (k log n + (k 2 log 2 n ψ 2 (A + 2(k log 2 n + (k 2 log 2 n ψ 2 (A + (k 2 2 log 2 n. Thus, fo s 1, 2 we have Then, A k ψ s (A ψ s (A and the second inequality holds. ( 1 k (ψ s (A + (k s s log s n A A A 1( ( k ( 1 k A A A A k A A A ψ s (A + (k s s log s n. ψ s (A + ( 1 k ψ s (A 1 + A A A A k ( 1 ( k n k ( k n ψ s (A + A A k ψ s (A + ( n (k s s log s n k ( n (k s s log s n k (k s s log s n, ( n (k s s log s n k Poposition 3.1. Fo s 1, 2 we have that E k (X s E(X s + O(k s 1/2 log s n whee E(X s denotes the expectation of X s in B(n, k/n and E k (X s the expectation in S(n, k. Poof. Obseve that fo s 1, 2 we have E(X s E k (X s E k (X s + E k (X s + n 0 ( k n n 0 n 0 ( 1 k n ( ( k 1 k n ψ s (A n n A ( ( k 1 k n n n E (X s n ( n (E (X s E k (X s,
THE LEAST COMMON MULTIPLE OF RANDOM SETS OF POSITIVE INTEGERS 7 fo s 1, 2. Using Lea 3.1 we get (2 E k (X s E(X s log s n n 0 ( ( k 1 k n ( n s k s. The su in (2 fo s 1 is E( Y E(Y, whee Y Bin(n, k/n is the binoial distibution of paaetes n and k/n. Chauchy-Schwaz inequality fo the expectation iplies that this quantity is bounded by the standad deviation of the binoial distibution. n ( ( k (3 1 k n ( n k n(k/n(1 k/n k, 0 which poves Poposition 3.1 fo s 1. To estiate the su in (2 fo s 2, we split the expession in two tes: the su indexed by 2k and the one with > 2k. We use (3 to get ( ( k 1 k n ( n n ( ( k 2 k 2 3k 1 k n ( n k 2k On the othe hand, >2k 0 3k 3/2. ( ( k 1 k n ( n 2 k 2 (l + 1 2 k 2 l 2 lk<(l+1k (l + 1 2 k 2 P(Y > lk l 2 ( ( k 1 k n ( n whee, once again, Y Bin(n, k/n. Chenoff s Theoe iplies that fo any ɛ > 0 we have P(Y > (1 + ɛk e ɛ2 k/3. Applying this inequality to P(Y > lk we get ( ( k 1 k n ( n 2 k 2 >2k (l + 1 2 k 2 e (l 12k/3 k 2 e k/3 k 3/2. l 2 The next coollay poves the fist pat of Theoe 1.2. Coollay 3.1. If k k(n < n and k then E k (X k log(n/k 1 k/n ( 1 + O (e C log k Poof. Poposition 3.1 fo s 1 and Coollay 2.1 iply that E k (X k log(n/k ( ( 1 + O e C log k + O 1 k/n (k 1/2
8 J. CILLERUELO, J. RUÉ, P. ŠARKA, AND A. ZUMALACÁRREGUI ( and clealy k 1/2 o e C log k when k. To conclude the poof of Theoe 1.2 we cobine Poposition 2.2 and Poposition 3.1 to estiate the vaiance V k (X in S(n, k: V k (X E k (X 2 E 2 k(x V (X + ( E k (X 2 E(X 2 + (E(X E k (X (E(X + E k (X ( k log 2 n + k 1/2 log n (k log n k 3/2 log 2 n. The second assetion of Theoe 1.2 is a consequence of the estiate V k (X o ( E 2 k (X when k. 3.1. The case when k is constant. The case when k is constant and n is not elevant fo ou oiginal otivation but we give a bief analysis fo the sake of the copleteness. In this case Fenandez and Fenandez [3] have been poved that E k (ψ(a k log n + C k + o(1 whee C k k + k ( k 2 ( 1 ζ ( ζ(. Actually they conside the pobabilistic odel with k independent choices in {1,..., n}, but when k is fixed it does not ake big diffeences because the pobability of a epetition between the k choices is tiny. It is easy to pove that with pobability 1 o(1 we have that ψ(a k log n. To see this we obseve that a 1 a k i< (a i, a 1 lc(a 1,..., a k a 1 a k n k, so k i1 log a i i< log(a i, a ψ(a k log n. Now notice that P(a i n/ log n fo soe i 1,..., k k/ log n. and that P((a i, a log n d>log n P(d a i, d a d>log n 1 d < 1 2 log n. These obsevations iply that with pobability at least 1 k+(k 2 log n we have that k log n (1 O (log log n/ log n ψ(a k log n. The analysis in the odel B(n, δ when δn c can be done using again Poposition 2.1. E (ψ(a n δ log(δ 1 + δ <n/ log n R ( 1 + δ n/ log nn R ( 1 We use the estiate R(x x/ log x in the fist su and the estiate R(x x in the second one. We have E (ψ(a c log n + O(1 + O c ( 1 ( + O c 1 log log n < n log n ( c log δ c log n + O + O (c log log n log log n c log n(1 + o(1. n log n n Of couse in this odel we have not concentation aound the expected value because the pobability that A is the epty set tends to a positive constant: P(A e c.
THE LEAST COMMON MULTIPLE OF RANDOM SETS OF POSITIVE INTEGERS 9 4. The least coon ultiple of the values of a polynoial Chebyshev s function could be also genealized to ψ q (n log lc {q(k : 1 k, 1 q(k n} fo a given polynoial q(x Z[x] and it is natual to ty to obtain the asyptotic behavio fo ψ q (n. Soe pogess has been ade in this diection. While the Pie Nube Theoe is equivalent to the asyptotic ψ q (n n fo q(x x, the Pie Nube Theoe fo aithetic pogessions can be exploited [1] to obtain the asyptotic estiate when q(x a 1 x + a 0 is a linea polynoial: ψ q (n n a 1 φ( 1l (l,1 whee a 1 /(a 1, a 0. The fist autho [2] has extended this esult to quadatic polynoials. Fo a given ieducible quadatic polynoial q(x a 2 x 2 + a 1 x + a 0 with a 2 > 0 the following asyptotic estiate holds: (4 ψ q (n 1 2 (n/a 2 1/2 log (n/a 2 + B q (n/a 2 1/2 + o(n 1/2, whee the constant B q depends only on q. In the paticula case of q(x x 2 + 1, he got ψ q (n 1 2 n1/2 log n + B q n 1/2 + o(n 1/2 with B q γ 1 log 2 ( 1 p log p, 2 p 1 p 2 whee γ is the Eule constant, ( 1 p is the Legende s sybol and the su is consideed ove all odd pie nubes. ( It has ecently been poved in [4] that the eo te in the pevious expession is O n 1/2 (log n 4/9+ɛ fo each ɛ > 0. When q(x is a educible polynoial the behavio is, howeve, diffeent. In this case it is known (see Theoe 3 in [2] that: ψ q (n cn 1/2 whee c is an explicit constant depending only on q. The asyptotic behavio of ψ q (n eains unknown fo ieducible polynoials of degee d 3, but it is conectued in [2] that this should be given by (5 ψ q (n (1 1/d (n/a d 1/d log (n/a d, whee a d > 0 is the coefficient of x d. Fo exaple, this conectue would iply ψ q (n 2 3 n1/3 log n fo q(x x 3 + 2. We obseve that ψ q (n ψ(a q,n whee A q,n : {q(k : 1 k, 1 q(k n} and it is natual to wonde whethe fo a given polynoial q(x the asyptotic E k (X ψ q (n holds when n whee k A q,n and X ψ(a fo a ando set A of k eleents in {1,..., n}. This question was the oiginal otivation of this wok. Theoe 1.2 applied to k A q,n n/a 2 + O(1 gives E k (X k log(n/k 1 k/n ( ( 1 + O e C log k 1 ( 2 (n/a 2 1/2 log(n/a 2 + o n 1/2. 1 l,
10 J. CILLERUELO, J. RUÉ, P. ŠARKA, AND A. ZUMALACÁRREGUI This shows that the asyptotic behavio of ψ q (n is the expected of a ando set of the sae size when q(x is an ieducible quadatic polynoial. Theoe 1.2 also suppots the analogous conectue 5 fo any q(x a d x d + + a 0 ieducible polynoial of degee d 3. Nevetheless, thee ae soe diffeences in the second te. Fo exaple, if q(x x 2 + 1, we have ψ q (n 1 2 n1/2 log n + B q n 1/2 + o(n 1/2, fo B 0.06627563... On the othe hand, Theoe 1.2 iplies that in coesponding odel S(n, k with k A q,n n 1 we have that ψ(a 1 2 n1/2 log n + o(n 1/2 alost suely. In othe wods, when q(x is an ieducible quadatic polynoial, the asyptotic behavio of ψ q (n is the sae that ψ(a in the coesponding odel S(n, k. But, the second te is not typical unless B q 0. Pobably B q 0 fo any ieducible quadatic polynoial q(x but we have not found a poof. Acknowledgents: This wok was suppoted by gants MTM 2011-22851 of MICINN and IC- MAT Seveo Ochoa poect SEV-2011-0087. This wok was ade duing thid autho s visit at Univesidad Autónoa de Madid in the Winte of 2012. He would like to thank the people of the Matheatics Depatent of this Univesity and especially Javie Cilleuelo fo thei wa hospitality. The authos ae also gateful to Suya Raana and Javie Cácao fo useful coents. Refeences [1] P. Batean, J. Kalb and A. Stenge, A liit involving Least Coon Multiples, Aeican Matheatical Monthly 10797, 109 (2002, no. 4, 393-394. [2] J. Cilleuelo, The least coon ultiple of a quadatic sequence, Copositio Matheatica 147 (2011 no. 4, 1129-1150. [3] J.L. Fenández and P. Fenández, On the pobability distibution of the gcd and lc of -tuples of integes. Pepint. [4] J. Rué, P. Šaka, A. Zualacáegui, On the eo te of the logaith of the lc of a quadatic sequence, Jounal de Théoie des Nobes de Bodeaux (to appea.
THE LEAST COMMON MULTIPLE OF RANDOM SETS OF POSITIVE INTEGERS 11 J. Cilleuelo: Instituto de Ciencias Mateáticas (CSIC-UAM-UC3M-UCM and Depataento de Mateáticas, Univesidad Autónoa de Madid, 28049 Madid, Spain E-ail addess: fanciscoavie.cilleuelo@ua.es J. Rué: Instituto de Ciencias Mateáticas (CSIC-UAM-UC3M-UCM, 28049 Madid, Spain E-ail addess: uano.ue@icat.es P. Šaka: Institute of Matheatics and Infoatics, Akadeios 4, Vilnius LT-08663, Lithuania and Depatent of Matheatics and Infoatics, Vilnius Univesity, Naugaduko 24, Vilnius LT-03225, Lithuania E-ail addess: paulius.saka@gail.co A. Zualacáegui: Instituto de Ciencias Mateáticas (CSIC-UAM-UC3M-UCM and Depataento de Mateáticas, Univesidad Autónoa de Madid, 28049 Madid, Spain E-ail addess: ana.zualacaegui@ua.es