<<

arXiv:1704.00151v2 [math.NT] 11 Apr 2017 st td h tutrlpoete n h itiuino distribution the and properties structural the study to is smttcdensity. asymptotic hti sntimdaeycerwehro o ie positi given a not or whether clear immediately not is it that eurnehsbe tde yAb ozae,Lc,Pomera Gonz´alez, Luca, Alba by studied been has recurrence oti i,w rvd in provide we aim, this To when lmnsof elements [ integers Zannier and Corvaja while, integers positive of distribution the of study the ally, of elements the of properties arithmetic the investigated h e fpstv integers positive of set the rn[ Tron a ensuidb eea uhr.Frisac,Andr´e-J instance, For authors. several by studied been has ierrcrec.As,i olw rmarsl fSna[ Sanna of result a from follows it Also, recurrence. linear and ucindfie by defined r itdi ESA074[ A104714 OEIS in listed are density. Define h set The 2010 e od n phrases. and words Key e ( Let F x n 8 ahmtc ujc Classification. Subject Mathematics +2 rvdthat proved ] F Abstract. nee and integer x/ uhthat such k hc ie,frec oiieinteger positive each for gives, which eetrsl fCbeadRue[rc mr ah Soc. Math. Amer. [Proc. Rouse and Cubre of result recent 1 → n , n uhthat such A log ) = B uhta the that such + n 2 A := ≥ , ∞ ffie onsof points fixed of x F NTEGETS OMNDVSROF COMMON GREATEST THE ON 1 nicesn re,as: order, increasing in , n o all for 5 n an [ Sanna and , { etesqec fFbncinmes enda sa by usual as defined , Fibonacci of sequence the be +1 , n g ( p iie h ako perneof appearance of rank the divides F 7 Let n + N THE AND , n divides : ) g x F eoe the denotes ( 10 A n ≥ n n =gcd( := ) etesto l neeso h omgcd( form the of integers all of set the be o l oiieintegers positive all for , ioac ubr,rn fapaac,gets omndiv common greatest appearance, of rank numbers, Fibonacci , ,adthat and 2, # n AL ENTIADCROSANNA CARLO AND LEONETTI PAOLO ≥ htr falna eurnedvdsthe divides recurrence linear a of term th F 12 B 1 k ( 12 n § . } , x 13 2 4 oeta,i particular, in that, Note . g ) eeaie hi eutt ua eune.Mr gener- More sequences. Lucas to result their generalized ] uhthat such ,adSna[ Sanna and ], 13 .. h e fpstv integers positive of set the i.e., , neetv rtro hc losu oeueaethe enumerate to us allows which criterion effective an ]. ≤ n ,F n, hFbncinme.W rv ht#( # that prove We . Fibonacci th , n x 1. HFBNCINUMBER FIBONACCI TH A 1 17 − n a eoaypoi est.Orpof eyo a on rely proofs Our density. asymptotic zero has Introduction ,frec oiieinteger positive each for ),  , rmr:1B9 eodr:1A5 11N25. 11A05, Secondary: 11B39. Primary: n 2 1 24 + nepii oml o h est fprimes of density the for formula explicit an , n o , (1) and  25 10 o o log log log , p osdrdtedsrbto fpositive of distribution the considered ] F hti,tesals oiieinteger positive smallest the is, that , 26 n n oevr let Moreover, . , r eaieypie a positive a has prime, relatively are n x/ 29 iiigthe dividing o log log , A ⊆ B ,F n, 34 11 B 142 n h lmnsof elements the f , utemr,Lc and Luca Furthermore, . ann[ eannin ,where ), x htteset the that ] , n c,adSprisi[ Shparlinski and nce, eitgrblnsto belongs integer ve h i fti article this of aim The . 35 21) 3771–3785] (2014), n uhthat such , h rtvle of values first The . n g 36 n n ∩ A htr fanother of term th htr falinear a of term th 2 etearithmetic the be , sapositive a is n oe [ Somer and ] 37 [1 n x , n . . . , F g ]) divides 1 sr natural isor, − ≫ = 1 A p 1,i.e., (1), Note . F 2 1 = F (1) 14 A 1 n ], g . ] , 2 Paolo Leonetti and Carlo Sanna

Our first result is a lower bound for the counting function of A. Theorem 1.1. #A(x) ≫ x/ log x, for all x ≥ 2. It is worth noting that it follows at once from Theorem 1.1 and (1) that B has zero asymptotic density relative to A (we omit the details): Corollary 1.2. #B(x)= o(#A(x)), as x → +∞. Our second result is that A has zero asymptotic density: Theorem 1.3. #A(x)= o(x), as x → +∞. It would be nice to have an effective upper bound for #A(x) or, even better, to obtain its asymptotic order of growth. We leave these as open questions for the interested readers. Notation. Throughout, we reserve the letters p and q for prime numbers. Moreover, given a set S of positive integers, we define S(x) := S∩ [1,x] for all x ≥ 1. We employ the Landau–Bachmann “Big Oh” and “little oh” notations O and o, as well as the associated Vinogradov symbols ≪ and ≫. In particular, all the implied constants are intended to be absolute, unless it is explicitly stated otherwise.

2. Preliminaries This section is devoted to some preliminary results needed in the later proofs. For each positive integer n, let z(n) be rank of appearance of n in the sequence of Fibonacci numbers, that is, z(n) is the smallest positive integer k such that n divides Fk. It is well known that z(n) exists. All the statements in the next lemma are well known, and we will use them implicitly without further mention. Lemma 2.1. For all positive integer m,n and all prime numbers p, we have:

(i) Fm | Fn whenever m | n. (ii) m | Fn if and only if z(m) | n. (iii) z(m) | z(n) whenever m | n. p p (iv) z(p) | p − 5 , where 5 is a . For each positive  integer n, define ℓ(n) := lcm(n, z(n)). The next lemma shows some elementary properties of the functions g, ℓ, z, and their relationship with A. Lemma 2.2. For all positive integer m,n and all prime numbers p, we have: (i) g(m) | g(n) whenever m | n. (ii) n | g(m) if and only if ℓ(n) | m. (iii) n ∈A if and only if n = g(ℓ(n)). (iv) p | n whenever ℓ(p) | ℓ(n) and n ∈A. (v) ℓ(p)= pz(p) whenever p 6= 5, and ℓ(5) = 5. (vi) p ∈A if p 6= 3 and ℓ(q) ∤ z(p) for all prime numbers q. Proof. Facts (i) and (ii) follow easily from the definitions of g and ℓ and the properties of z. To prove (iii), note that n divides both ℓ(n) and Fℓ(n) hence n | g(ℓ(n)) for all positive integers n. Conversely, if n ∈ A, then n = g(m) for some positive integer m. In particular, n | g(m) which is equivalent to ℓ(n) | m by (ii). Therefore g(ℓ(n)) | On the of n and the nth 3 g(m) = n, thanks to (i), and in conclusion g(ℓ(n)) = n. Fact (iv) follows at once from (ii) and (iii). A quick computation shows that ℓ(5) = 5, while for all prime numbers p 6= 5 we have gcd(p, z(p)) = 1, since z(p) | p ± 1, so that ℓ(p)= pz(p), and this proves (v). Lastly, let us suppose that p 6= 3 is a such that ℓ(q) ∤ z(p) for all prime numbers q. In particular, p 6= 5 since ℓ(5) = z(5) = 5, by (v). Also, the claim (vi) is easily seen to hold for p = 2. Hence, let us suppose hereafter that p ≥ 7. Since z(p) | p ± 1, it easily follows that p || g(ℓ(p)). At this point, if q | g(ℓ(p)) for some prime q 6= p, then ℓ(q) | ℓ(p) = pz(p) thanks to (ii). But ℓ(q) ∤ z(p), hence p | ℓ(q) = lcm(q, z(q)) so that p | z(q) ≤ q + 1. Similarly, q | g(ℓ(p)) | ℓ(p) implies q | z(p) ≤ p + 1. Hence |p − q| ≤ 1, which is impossible since p ≥ 7. Therefore q ∤ g(ℓ(p)), with the consequence that p = g(ℓ(p)), i.e., p ∈ A by (iii). This concludes the proof of (vi).  It is worth noting that Lemma 2.2(iii) provides an effective criterion to establish whether a given positive integer belongs to A or not. This is how we evaluated the elements of A listed in the introduction. It follows from a result of Lagarias [6, 7], that the set of prime numbers p such that z(p) is even has a relative density of 2/3 in the set of all prime numbers. Bruckman and Anderson [3, Conjecture 3.1] conjectured, for each positive integer m, a formula for the limit #{p ≤ x : m | z(p)} ζ(m) := lim . x→+∞ x/ log x Their conjecture was proved by Cubre and Rouse [5, Theorem 2], who obtained the following result. Theorem 2.3. For each prime number q and each positive integer e, we have q2−e ζ(qe)= , q2 − 1 while for any positive integer m, we have 1 if 10 ∤ m, ζ(m)= ζ(qe) ·  5 if m ≡ 10 mod 20,  4 qYe||m  1 2 if 20 | m.  Note that the arithmetic function ζ is not multiplicative. However, the restriction of ζ to the odd positive integers is multiplicative. This fact will be useful later. Let ϕ be the Euler’s totient function. We need the following technical lemma. Lemma 2.4. We have 1 1 ≪ , ϕ(ℓ(q)) y1/4 Xq>y for all y > 0. γ Proof. For γ > 0, put Qγ := {p : z(p)

2γ from which it follows that Qγ (x) ≪ x . Fix also ε ∈ ]0, 1 − 2γ[. For the rest of this proof, all the implied constants may depend on γ and ε. Since ϕ(n) ≫ n/ log log n for all positive integers n [15, Ch. I.5, Theorem 4], while, by Lemma 2.2(v), ℓ(q) ≪ q2 for all prime numbers q, we have 1 log log ℓ(q) log log q qε ≪ ≪ ≪ , (2) ϕ(ℓ(q)) ℓ(q) ℓ(q) ℓ(q) Xq>y Xq>y Xq>y Xq>y for all y > 0. On the one hand, again by Lemma 2.2(v), qε 1 1 +∞ dt 1 ≪ ≤ ≪ ≪ . (3) ℓ(q) q1−εz(q) q1+γ−ε Z t1+γ−ε yγ−ε Xq>y Xq>y Xq>y y q∈Q / γ q∈Q / γ On the other hand, by partial summation, qε 1 #Q (t) +∞ +∞ #Q (t) ≤ = γ + (1 − ε) γ dt ℓ(q) q1−ε t1−ε Z t2−ε Xq>y Xq>y t=y y q∈Qγ q∈Qγ

+∞ +∞ #Qγ(t) dt 1 ≤ 2−ε dt ≪ 2−2γ−ε ≪ 1−2γ−ε . (4) Zy t Zy t y The claim follows by putting together (2), (3), and (4), and by choosing γ = 1/3 and ε = 1/12. 

Lastly, for all relatively prime integers a and m, define π(x, m, a):=#{p ≤ x : p ≡ a mod m}. We need the following version of the Brun–Titchmarsh theorem [9, Theorem 2]. Theorem 2.5. If a and m are relatively prime integers and m> 0, then 2x π(x, m, a) < , ϕ(m) log(x/m) for all x>m.

3. Proof of Theorem 1.1 First, since 1 ∈A, it is enough to prove the claim only for all sufficiently large x. Let y > 5 be a real number to be chosen later. Define the following sets of primes:

P1 := {p : q ∤ z(p), ∀q ∈ [3,y]},

P2 := {p : ∃q>y, ℓ(q) | z(p)},

P := P1 \ P2. We have P ⊆A∪{3}. Indeed, since 3 | ℓ(2) and q | ℓ(q) for each prime number q, it follows easily that if p ∈ P then ℓ(q) ∤ z(p) for all prime numbers q, which, by Lemma 2.2(vi), implies that p ∈A or p = 3. On the greatest common divisor of n and the nth Fibonacci number 5

Now we give a lower bound for #P1(x). Let Py be the product of all prime numbers in [3,y], and let µ be the M¨obius function. By using the inclusion-exclusion principle and Theorem 2.3, we get that #P (x) #{p ≤ x : m | z(p)} lim 1 = lim µ(m) · = µ(m)ζ(m) x→+∞ x/ log x x→+∞ x/ log x mX|Py mX|Py q = (1 − ζ(q)) = 1 − ,  q2 − 1 3≤Yq≤y 3≤Yq≤y where we also made use of the fact that the restriction of ζ to the odd positive integers is multiplicative. As a consequence, for all sufficiently large x depending only on y, let say x ≥ x0(y), we have 1 q x 1 x #P (x) ≥ 1 − · ≫ · , 1 2  q2 − 1 log x log y log x 3≤Yq≤y where the last inequality follows from Mertens’ third theorem [15, Ch. I.1, Theorem 11]. We also need an upper bound for #P2(x). Since z(p) | p ± 1 for all primes p> 5, we have #P2(x) ≤ #{p ≤ x : ℓ(q) | z(p)}≤ π(x,ℓ(q), ±1), (5) Xq>y Xq>y for all x> 0, where, for the sake of brevity, we put π(x,ℓ(q), ±1) := π(x,ℓ(q), −1) + π(x,ℓ(q), 1). On the one hand, by Theorem 2.5 and Lemma 2.4, we have 1 x 1 x π(x,ℓ(q), ±1) ≪ · ≪ · . (6) ϕ(ℓ(q)) log x y1/4 log x yy On the other hand, by the trivial estimate for π(x,ℓ(q), ±1) and Lemma 2.4, we get x x π(x,ℓ(q), ±1) ≪ ≤ ≪ x7/8. (7) ℓ(q) ϕ(ℓ(q)) q>xX1/2 q>xX1/2 q>xX1/2 Therefore, putting together (5), (6), and (7), we find that

1 x 7/8 #P2(x) ≪ · + x . y1/4 log x

In conclusion, there exist two absolute constants c1, c2 > 0 such that

c1 c2 c2 log x x #A(x) ≫ #P(x) ≥ #P1(x) − #P2(x) ≥ − − · , (8) log y y1/4 x1/8  log x for all x ≥ x0(y). Finally, we can choose y to be sufficiently large so that c c 1 − 2 > 0. log y y1/4 Hence, from (8) it follows that #A(x) ≫ x/ log x, for all sufficiently large x. 6 Paolo Leonetti and Carlo Sanna

4. Proof of Theorem 1.3 Fix ε > 0 and pick a prime number q such that 1/q < ε. Let P be the set of prime numbers p such that ℓ(q) | z(p). By Theorem 2.3, we know that P has a positive relative density in the set of primes. As a consequence, we can pick a sufficiently large y > 0 so that 1 1 − < ε.  p p∈PY(y) Let B be the set of positive integers without prime factors in P(y). We split A into two subsets: A1 := A∩B and A2 := A\A1. If n ∈ A2 then n has a prime factor p such that ℓ(q) | z(p). Hence, ℓ(q) | ℓ(n) and, by Lemma 2.2(iv), we get that q | n, so all the elements of A2 are multiples of q. In conclusion, #A(x) #A (x) #A (x) 1 1 lim sup ≤ lim sup 1 + limsup 2 ≤ 1 − + < 2ε, x→+∞ x x→+∞ x x→+∞ x  p q p∈PY(y) and, by the arbitrariness of ε, it follows that A has zero asymptotic density.

References [1] J. J. Alba Gonz´alez, F. Luca, C. Pomerance, and I. E. Shparlinski, On numbers n dividing the nth term of a linear recurrence, Proc. Edinb. Math. Soc. (2) 55 (2012), no. 2, 271–289. [2] R. Andr´e-Jeannin, Divisibility of generalized Fibonacci and Lucas numbers by their subscripts, Fibonacci Quart. 29 (1991), no. 4, 364–366. [3] P. S. Bruckman and P. G. Anderson, Conjectures on the Z-densities of the Fibonacci sequence, Fibonacci Quart. 36 (1998), no. 3, 263–271. [4] P. Corvaja and U. Zannier, Finiteness of integral values for the ratio of two linear recurrences, Invent. Math. 149 (2002), no. 2, 431–451. [5] P. Cubre and J. Rouse, Divisibility properties of the Fibonacci entry point, Proc. Amer. Math. Soc. 142 (2014), no. 11, 3771–3785. [6] J. C. Lagarias, The set of primes dividing the Lucas numbers has density 2/3, Pacific J. Math. 118 (1985), no. 2, 449–461. [7] J. C. Lagarias, Errata to: “The set of primes dividing the Lucas numbers has density 2/3” [Pacific J. Math. 118 (1985), no. 2, 449–461], Pacific J. Math. 162 (1994), no. 2, 393–396. [8] F. Luca and E. Tron, The distribution of self-Fibonacci , Advances in the theory of numbers, Fields Inst. Commun., vol. 77, Fields Inst. Res. Math. Sci., Toronto, ON, 2015, pp. 149–158. [9] H. L. Montgomery and R. C. Vaughan, The large sieve, Mathematika 20 (1973), 119–134. [10] C. Sanna, Distribution of integral values for the ratio of two linear recurrences, https://arxiv.org/abs/1703.10047. [11] C. Sanna, On numbers n relatively prime to the nth term of a linear recurrence, https://arxiv.org/abs/1703.10478. [12] C. Sanna, On numbers n dividing the nth term of a Lucas sequence, Int. J. 13 (2017), no. 3, 725–734. [13] N. J. A. Sloane, The on-line encyclopedia of integer sequences, http://oeis.org, Sequence A104714. [14] L. Somer, Divisibility of terms in Lucas sequences by their subscripts, Applications of Fibonacci numbers, Vol. 5 (St. Andrews, 1992), Kluwer Acad. Publ., Dordrecht, 1993, pp. 515–525. [15] G. Tenenbaum, Introduction to analytic and probabilistic number theory, Cambridge Studies in Advanced Mathematics, vol. 46, Cambridge University Press, Cambridge, 1995. On the greatest common divisor of n and the nth Fibonacci number 7

Universita` “Luigi Bocconi”, Department of Statistics, Milan, Italy E-mail address: [email protected] URL: http://orcid.org/0000-0001-7819-5301

Universita` degli Studi di Torino, Department of Mathematics, Turin, Italy E-mail address: [email protected] URL: http://orcid.org/0000-0002-2111-7596