• Non ci sono risultati.

On numbers n relatively prime to the nth term of a linear recurrence

N/A
N/A
Protected

Academic year: 2021

Condividi "On numbers n relatively prime to the nth term of a linear recurrence"

Copied!
6
0
0

Testo completo

(1)

23 July 2021

AperTO - Archivio Istituzionale Open Access dell'Università di Torino

Original Citation:

On numbers n relatively prime to the nth term of a linear recurrence

Published version:

DOI:10.1007/s40840-017-0514-8

Terms of use:

Open Access

(Article begins on next page)

Anyone can freely access the full text of works made available as "Open Access". Works made available under a Creative Commons license can be used according to the terms and conditions of said license. Use of all other works requires consent of the right holder (author or publisher) if not exempted from copyright protection by the applicable law.

Availability:

This is the author's manuscript

(2)

ON NUMBERS n RELATIVELY PRIME TO THE nTH TERM OF A LINEAR RECURRENCE

CARLO SANNA

Abstract. Let (un)n≥0 be a nondegenerate linear recurrence of integers, and let A be the set of positive integers n such that un and n are relatively prime. We prove that A has an asymptotic density, and that this density is positive unless (un/n)n≥1 is a linear recurrence.

1. Introduction

Let (un)n≥0be a linear recurrence over the integers, that is, (un)n≥0is a sequence of integers satisfying

un= a1un−1+ a2un−2+ · · · + akun−k,

for all integers n ≥ k, where a1, . . . , ak ∈ Z and ak6= 0. To avoid trivialities, we assume that (un)n≥0 is not identically zero. We refer the reader to [4, Ch. 1-8] for the general terminology and theory of linear recurrences.

The set

Bu := {n ∈ N : n | un}

has been studied by several researchers. Assuming that (un)n≥0 is nondegenerate and that its characteristic polynomial has only simple roots, Alba Gonz´alez, Luca, Pomerance, and Shparlinski [1, Theorem 1.1] proved that

#Bu(x) k x log x,

for all sufficiently large x > 1. Andr´e-Jeannin [2] and Somer [10] studied the arithmetic properties of the elements of Buwhen (un)n≥0is a Lucas sequence, that is, (u0, u1, k) = (0, 1, 2). In such a case, generalizing a previous result of Luca and Tron [6], Sanna [8] proved the upper bound

#Bu(x) ≤ x1−( 1

2+o(1))log log log x/ log log x,

as x → +∞, where the o(1) depends on a1 and a2. Furthermore, Corvaja and Zannier [3] studied the more general set

Bu,v:= {n ∈ N : vn| un},

where (vn)n≥0 is another linear recurrence over the integers. Under some mild hypotheses on (un)n≥0and (vn)n≥0, they proved that Bu,v has zero asymptotic density [3, Corollary 2], while Sanna [7] gave the bound

#Bu,v(x) u,v x ·

 log log x log x

hu,v ,

for all x ≥ 3, where hu,v is a positive integer depending only on (un)n≥0 and (vn)n≥0.

If (Fn)n≥0 is the sequence of Fibonacci numbers, Leonetti and Sanna [5] showed that the set G := {gcd(n, Fn) : n ∈ N}

has zero asymptotic density, and that

#G(x)  x

log x,

2010 Mathematics Subject Classification. Primary: 11B37. Secondary: 11A07, 11B39, 11N25. Key words and phrases. Linear recurrences; greatest common divisor; divisibility.

(3)

2 CARLO SANNA

for all x ≥ 2. Moreover, Sanna and Tron [9] proved that for each positive integer m the set {n ∈ N : gcd(n, Fn) = m}

has an asymptotic density. They also gave a criterion to establish when this density is positive, and a formula for the density in terms of an infinite series involving the M¨obius function and the rank of appearance.

On the other hand, the set

Au = {n ∈ N : gcd(n, un) = 1}

does not seem to have attracted so much attention. We prove the following result:

Theorem 1.1. For any nondegenerate linear recurrence of integers (un)n≥0, the asymptotic density d(Au) of Au exists. Moreover, if (un/n)n≥1 is not a linear recurrence (of rational numbers) then d(Au) > 0. Otherwise, Au is finite and, a fortiori, d(Au) = 0.

We remark that given the initial conditions and the coefficients of a linear recurrence (un)n≥0, it is easy to test effectively if (un/n)n≥1 is a linear recurrence or not (see Lemma2.1, in §2). Notation. Throughout, the letter p always denotes a prime number. For a set of positive integers S, we put S(x) := S ∩ [1, x] for all x ≥ 1, and we recall that the asymptotic density d(S) of S is defined as the limit of the ratio #S(x)/x as x → +∞, whenever this exists. We employ the Landau–Bachmann “Big Oh” and “little oh” notations O and o, as well as the associated Vinogradov symbols  and , with their usual meanings. Any dependence of the implied constants is explicitly stated or indicated with subscripts.

2. Preliminaries

In this section we give some definitions and collect some preliminary results needed in the later proofs. Let fu be the characteristic polynomial of (un)n≥0, i.e.,

fu(X) = Xk− a1Xk−1− a2Xk−2− · · · − ak.

Moreover, let K be the splitting field of fu over Q, and let α1, . . . , αr ∈ K be all the distinct roots of fu. It is well known that there exist g1, . . . , gr∈ K[X] such that

(1) un=

r X

i=1

gi(n) αni,

for all integers n ≥ 0. We define Buas the smallest positive integer such that all the coefficients of the polynomials Bug1, . . . , Bugr are algebraic integers.

We have the following easy lemma.

Lemma 2.1. (un/n)n≥1 is a linear recurrence (of rational numbers) if and only if

(2) g1(0) = · · · = gr(0) = 0.

In such a case, Au is finite.

Proof. The first part of the lemma follows immediately from the fact that any linear recurrence can be written as a generalized power sum like (1) in a unique way (assuming the roots α1, . . . , αr are distinct, and up to the order of the addends). For the second part, if (2) holds then for all positive integer n we have that

Buun n = r X i=1 Bugi(n) n α n i

is both a rational number and an algebraic integer, hence it is an integer. Therefore, n | Buun, and so gcd(n, un) = 1 only if n | Bu, which in turn implies that Au is finite. 

(4)

For the rest of this section, we assume that (un)n≥0 is nondegenerate and that fu has only simple roots, hence, in particular, r = k. We write ∆u for the discriminant of the polynomial fu, and we recall that ∆u is a nonzero integer. If k ≥ 2, then for all integers x1, . . . , xk we set

Du(x1, . . . , xk) := det(α xj

i )1≤i,j≤k,

and for any prime number p not dividing akwe define Tu(p) as the greatest integer T ≥ 0 such that p does not divide

Y

1≤x2,...,xk≤T

max{1, |NK(Du(0, x2, . . . , xk))|} ,

where NK(α) denotes the norm of α ∈ K over Q, and the empty product is equal to 1. It is known that such T exists [4, p. 88]. If k = 1, then we set Tu(p) := +∞ for all prime numbers p not dividing a1. Note that Tu(p) = 0 if and only if k = 2 and p divides ∆u.

Finally, for all γ ∈ ]0, 1[, we define

Pu,γ := {p : p - ak, Tu(p) < pγ}.

We are ready to state two important lemmas regarding Tu(p) [1, Lemma 2.1, Lemma 2.2]. Lemma 2.2. For all γ ∈ ]0, 1[ and x ≥ 21/γ we have

#Pu,γ(x) u x kγ γ log x.

Lemma 2.3. Assume that p is a prime number not dividing akBu∆u and relatively prime with at least one term of (un)n≥0. Then, for all x ≥ 1, the number of positive integers m ≤ x such that upm≡ 0 (mod p) is

Ok  x Tu(p) + 1  .

Actually, in [1] both Lemma2.2 and Lemma2.3 were proved only for k ≥ 2. However, one can easily check that they are true also for k = 1.

3. Proof of Theorem 1.1

For all integers n ≥ 0, define vn:= Bu r X i=1 gi(n) − gi(0) n α n i and wn:= Bu r X i=1 gi(0) αni.

Note that both (vn)n≥0 and (wn)n≥0 are linear recurrences of algebraic integers, and that the characteristic polynomial of (wn)n≥0 has only simple roots.

Let G be the Galois group of K over Q. Since un is an integer, for any σ ∈ G we have that nvn+ wn= Buun= σ(Buun) = σ(nvn+ wn) = nσ(vn) + σ(wn),

(3)

for all integers n ≥ 0. In (3) note that both nσ(vn) and σ(wn) are linear recurrences, and the first is a multiple of n, while the characteristic polynomial of the second has only simple roots. Since the expression of a linear recurrence as a generalized power sum is unique, from (3) we get that wn= σ(wn) for any σ ∈ G, hence wn is an integer.

Thanks to Lemma2.1, we know that (wn)n≥0 is identically zero if and only if (un/n)n≥1is a linear recurrence, and in such a case Au is finite, so that the claim of Theorem1.1is obvious. Hence, we assume that (wn)n≥0 is not identically zero.

For the sake of convenience, put Cu:= N \ Au. Thus we have to prove that the asymptotic density of Cu exists and is less than 1. For each y > 0, we split Cu into two subsets:

Cu,y− := {n ∈ Cu: p | gcd(n, un) for some p ≤ y}, Cu,y+ := Cu\ Cu,y− .

It is well known that (un)n≥0 is definitively periodic modulo p, for any prime number p. Therefore, it is easy to see that Cu,y− is an union of finitely many arithmetic progressions and a

(5)

4 CARLO SANNA

finite subset of N. In particular, Cu,y− has an asymptotic density. If we put δy := d(Cu,y− ), then it is clear that δy is a bounded nondecreasing function of y, hence the limit

(4) δ := lim

y→+∞δy

exists finite. We shall prove that Cu has asymptotic density δ. Hereafter, all the implied constants may depend on (un)n≥0 and k. If n ∈ Cu,y+ (x) then there exists a prime p > y such that p | n and p | un. Furthermore, Buun= nvn+ wn implies that p | wn. Hence, we can write n = pm for some positive integer m ≤ x/p such that wpm ≡ 0 (mod p). For sufficiently large y, we have that p does not divide fw(0)Bw∆w (actually, Bw = 1) and is coprime with at least one term of (ws)s≥0, since (ws)s≥0 is not identically zero.

Therefore, by applying Lemma2.3 to (ws)s≥0, we get that the number of possible values of m is at most O  x pTw(p) + 1  . As a consequence, (5) #Cu,y+ (x)  X y<p≤x  x pTw(p) + 1   x · X p>y 1 pTw(p) + 1 log x ! ,

where we also used the Chebyshev’s bound for the number of primes not exceeding x. Setting γ := 1/(k + 1), by partial summation and Lemma 2.2, we have

(6) X p>y p∈Pw,γ 1 pTw(p) ≤ X p>y p∈Pw,γ 1 p =  #Pw,γ(t) t +∞ t=y + Z +∞ y #Pw,γ(t) t2 dt  1 y1−kγ = 1 yγ. On the other hand,

(7) X p>y p /∈Pw,γ 1 pTw(p) ≤ X p>y p /∈Pw,γ 1 p1+γ  Z +∞ y dt t1+γ  1 yγ Thus, putting together (5), (6), and (7), we obtain

#C+ u,y(x) x  1 yγ + 1 log x, so that (8) lim sup x→+∞ #Cu(x) x − δy = lim sup x→+∞ #Cu(x) x − #Cu,y− (x) x = lim sup x→+∞ #Cu,y+ (x) x  1 yγ, hence, by letting y → +∞ in (8) and by using (4), we get that Cu has asymptotic density δ.

It remains only to prove that δ < 1. Clearly,

Cu,y− ⊆ {n ∈ N : p | n for some p ≤ y},

so that, by Eratosthenes’ sieve and Mertens’ third theorem [11, Ch. I.1, Theorem 11], we have

(9) lim sup x→+∞ #Cu,y− (x) x ≤ 1 − Y p≤y  1 −1 p  ≤ 1 − c1 log y,

for all y ≥ 2, where c1 > 0 is an absolute constant. Furthermore, the last part of (8) says that

(10) lim sup x→+∞ #Cu,y+ (x) x ≤ c2 yγ, for all sufficiently large y, where c2 > 0 is an absolute constant.

Therefore, putting together (9) and (10), we get (11) δ = lim x→+∞ #Cu(x) x ≤ lim supx→+∞ #Cu,y− (x) x + lim supx→+∞ #Cu,y+ (x) x ≤ 1 −  c1 log y − c2 yγ  ,

(6)

for all sufficiently large y.

Finally, picking a sufficiently large y, depending on c1 and c2, the bound (11) yields δ < 1. The proof of Theorem1.1 is complete.

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. Corvaja and U. Zannier, Finiteness of integral values for the ratio of two linear recurrences, Invent. Math. 149 (2002), no. 2, 431–451.

4. G. Everest, A. van der Poorten, I. Shparlinski, and T. Ward, Recurrence sequences, Mathematical Surveys and Monographs, vol. 104, American Mathematical Society, Providence, RI, 2003.

5. P. Leonetti and C. Sanna, On the greatest common divisor of n and the nth Fibonacci number, Rocky Mountain J. Math. (accepted).

6. F. Luca and E. Tron, The distribution of self-Fibonacci divisors, Advances in the theory of numbers, Fields Inst. Commun., vol. 77, Fields Inst. Res. Math. Sci., Toronto, ON, 2015, pp. 149–158.

7. C. Sanna, Distribution of integral values for the ratio of two linear recurrences,https://arxiv.org/abs/ 1703.10047.

8. C. Sanna, On numbers n dividing the nth term of a Lucas sequence, Int. J. Number Theory 13 (2017), no. 3, 725–734.

9. C. Sanna and E. Tron, The density of numbers n having a prescribed G.C.D. with the nth Fibonacci number,

https://arxiv.org/abs/1705.01805.

10. 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.

11. G. Tenenbaum, Introduction to analytic and probabilistic number theory, Cambridge Studies in Advanced Mathematics, vol. 46, Cambridge University Press, Cambridge, 1995.

Universit`a degli Studi di Torino, Department of Mathematics, Turin, Italy E-mail address: carlo.sanna.dev@gmail.com

Riferimenti

Documenti correlati

In section 2, we consider these sequences proving that all (non degenerate) di- visibility sequences of order 4 have characteristic polynomial equals to the characteristic polynomial

• Training experience: 15% of the sample stated that they wanted to undertake National Civilian Service in order to enjoy a training experience that could serve them at

Dai raffronti tra i risultati delle prove CPT e le stratigrafie dei sondaggi vicini, si è visto come i terreni della formazione A si possono considerare appartenenti alla classe 6, i

Later, Tabur-damu appears as ma- lik-tum (Tonietti, Miscellanea Eblaitica 2, pp. Kir-su-ud was also the name of a “woman”, dam, of Ibrium. She appears, together with others of

Diseguaglianze che sono ancora di genere, nel senso più ampio che questo concet- to ricopre, non solo come disparità tra uomini e donne, ma anche in relazione alla scarsità, nel

The average pulse height for a non-irradiated scCVD pixel diamond sensor as a function of incident particle flux is shown in Fig.. The data shows a small decrease of 5% between

Use of all other works requires consent of the right holder (author or publisher) if not exempted from copyright protection by the applicable

di esso, vedi l’art.14 del reg.(UE) 2002/178, secondo il quale per determinare se un alimento sia a rischio occorre prendere in considerazione «b) le informazioni messe a