• Aucun résultat trouvé

On a second conjecture of Stolarsky: the sum of digits of polynomial values

N/A
N/A
Protected

Academic year: 2021

Partager "On a second conjecture of Stolarsky: the sum of digits of polynomial values"

Copied!
10
0
0

Texte intégral

(1)

HAL Id: hal-00959809

https://hal.archives-ouvertes.fr/hal-00959809

Submitted on 17 Mar 2014

HAL is a multi-disciplinary open access archive for the deposit and dissemination of sci-entific research documents, whether they are pub-lished or not. The documents may come from teaching and research institutions in France or abroad, or from public or private research centers.

L’archive ouverte pluridisciplinaire HAL, est destinée au dépôt et à la diffusion de documents scientifiques de niveau recherche, publiés ou non, émanant des établissements d’enseignement et de recherche français ou étrangers, des laboratoires publics ou privés.

On a second conjecture of Stolarsky: the sum of digits of

polynomial values

Manfred Madritsch, Thomas Stoll

To cite this version:

Manfred Madritsch, Thomas Stoll. On a second conjecture of Stolarsky: the sum of digits of polyno-mial values. Archiv der Mathematik, Springer Verlag, 2013, 102 (1), pp.49-57. �10.1007/s00013-013-0587-z�. �hal-00959809�

(2)

SUM OF DIGITS OF POLYNOMIAL VALUES

MANFRED G. MADRITSCH AND THOMAS STOLL

Abstract. Let q, r ≥ 2 be integers and denote by sqthe sum-of-digits

function in base q. In 1978, K. B. Stolarsky conjectured that lim N→∞ 1 N X n≤N s2(nr) s2(n) ≤r.

In this paper we prove this conjecture. We show that for polynomials P1(X), P2(X) ∈ Z[X] of degrees r1, r2 ≥ 1 and integers q1, q2 ≥2 we

have lim N→∞ 1 N X n≤N sq1(P1(n)) sq2(P2(n)) =r1(q1−1) log q2 r2(q2−1) log q1 .

We also present a variant of the problem to polynomial values of prime numbers.

1. Introduction and statement of results

Let q ≥ 2 be an integer. Then every positive integer n has a unique q-adic representation of the form

n =

X

k=0

nkqk with nℓ 6= 0.

We call a function f a q-additive function if it acts only on the digits of this expansion, i.e., f ℓ X k=0 nkqk ! = ℓ X k=0 f (nkqk).

Moreover, if this action is independent of the position of the digit, i.e., f (aqk) = f (aqj) for k, j ≥ 0 and a ∈ {0, 1, . . . , q − 1}, then we call f strictly

q-additive. The most famous example of a strictly q-additive function is the sum-of-digits function sq defined by

sq ℓ X k=0 nkqk ! = ℓ X k=0 nk. Date: March 17, 2014.

1991 Mathematics Subject Classification. Primary 11A63; Secondary 11N37. Key words and phrases. sum-of-digits, mean value, polynomials, prime numbers. The second author was supported by the Agence Nationale de la Recherche, grant ANR-10-BLAN 0103 MUNUM.

(3)

In 1978, K. B. Stolarsky [12] studied the distribution properties of the se-quence of fractions

(s2(nr)/s2(n))n≥1,

where r ≥ 2 denotes a fixed integer. At the end of his paper, he posed two conjectures. His first conjecture was to give a proof that for all fixed r ≥ 2 one has lim inf n→∞ s2(nr) s2(n) = 0.

Hare, Laishram and Stoll [6] recently settled this conjecture and proved, more generally, that for any polynomial P (X) ∈ Z[X] with P (N) ⊂ N of degree r ≥ 2, lim inf n→∞ sq(P (n)) sq(n) = 0.

Stolarsky also showed that the sequence s2(nr)/s2(n) is unbounded as n →

∞ (this is also true for sq(P (n))

sq(n) , see [6]). In very recent work, the authors [9]

show that the ratio

sq(P1(n))/sq(P2(n))

for polynomials P1(X) and P2(X) of distinct degrees lies indeed dense in

R+.

In [12] Stolarsky posed a second question, namely, whether

(1.1) lim N →∞ 1 N X n≤N s2(nr) s2(n)

exists and — if it exists — to determine its value. He conjectured that the limit (1.1) exists and that it is included in the interval ]1, h]. The purpose of this paper is to prove this conjecture. More precisely, as in Hare, Laishram and Stoll [6], we show a general version. We also present a variant to polynomial values of prime numbers. Let pn denote the n–th prime, i.e.,

p1 = 2, p2= 3, p3 = 5 etc.

Our main result is the following:

Theorem 1.1. Let q1, q2 ≥ 2 be integers and P1(X), P2(X) ∈ C[X] be

polynomials of degreesr1, r2 ≥ 1, respectively, with P1(N), P2(N) ⊂ N. Then

lim N →∞ 1 N X n≤N sq1(P1(n)) sq2(P2(n)) = q1− 1 q2− 1·  log q1 log q2 −1 ·rr1 2 . (1.2) Moreover, lim N →∞ 1 N X n≤N sq1(P1(pn)) sq2(P2(pn)) = q1− 1 q2− 1·  log q1 log q2 −1 ·rr1 2 . (1.3)

(4)

Remark 1.2. In exactly the same way one can show that lim N →∞ 1 N X n≤N sq1(P1(pn)) sq2(P2(n)) = q1− 1 q2− 1·  log q1 log q2 −1 ·rr1 2 .

All these results easily extend to strictly q1- resp. q2-additive functions

provided that the variance and the image set of the functions satisfy some suitable conditions (see [1]). These conditions are automatically verified by the sum-of-digits function.

Furthermore we remark that by replacing the theorem of Bassily and K´atai (Theorem 2.2) by analogous results due to Drmota and Steiner [4], Madritsch [7], Madritsch and Peth˝o [8], Drmota and Gutenbrunner [3], and Madritsch and Thuswaldner [10], respectively, one can prove analogous re-sults for additive functions of polynomials in numeration systems that are defined via linear recurrent sequences (such as the Zeckendorf expansion), for additive functions of polynomials in numeration systems in algebraic number fields, for additive functions of polynomials in numeration systems in the quotient ring of polynomials over Z, for additive functions of poly-nomials in numeration systems in the ring of polypoly-nomials over a finite field and for additive functions of polynomials in numeration systems in function fields, respectively.

2. Preliminaries

For the proof, we need some notation. We denote by

µq = q − 1 2 and σ 2 q = q2− 1 12 ,

the mean and the variance of the values of the sum-of-digits function (see [1] or [2]). We will use the letter p to refer to a prime number, and use π(N ) for the number of primes up to N . We write f ≪ω g or f = Oω(g) if there

exists a constant C depending at most on ω such that f (x) ≤ Cg(x) for sufficiently large x. If there is no such ω then the implied constant is meant to be absolute. We write logqx for the logarithm to base q. Finally, for A ⊂ N we denote by d(A) the asymptotic density of A, i.e.,

d(A) = lim

N →∞

A ∩ [1, N]

N .

The idea of the proof of Theorem 1.1 is to use Ces`aro means (see [5]). However, we cannot apply these means directly since the summands in (1.2) and (1.3) could be arbitrarily large. We will therefore divide the sequence into two parts. The first part corresponds to terms where the ratio stays close to the mean value whereas the second part is made up by terms that are far away from the mean (this will be made precise in a moment). For the first part, we use Ces`aro means and the following lemma, which helps us replacing the unbounded sequence by a bounded one.

(5)

Lemma 2.1. Let (xn)n∈N be a sequence of reals and A ⊂ N a set with

asymptotic density one. If lim n→∞ n∈A xn= x < ∞, then lim N →∞ 1 N X n≤N n∈A xn= x.

Proof. We define the sequence (yn)n∈N by

yn=

(

xn if n ∈ A,

x if n 6∈ A. Since A has asymptotic density one, we have

lim N →∞ 1 N X n≤N n∈A xn= lim N →∞ 1 N X n≤N yn− lim N →∞ 1 N X n≤N n6∈A x = x.  For the second part, we make use of a minor refinement of a result of Bassily and K´atai [1]. The difference to the original result is that we only suppose P (X) ∈ C[X] instead of P (X) ∈ Z[X].

Theorem 2.2. Let q ≥ 2 be an integer and P (X) ∈ C[X] be a polynomial of degree r ≥ 1 with P (N) ⊂ N. Then

1 N# ( 1 ≤ n ≤ N : sq(P (n)) − µqlogq(N r) σq(logqNr) 1 2 < t ) −−−−→ N →∞ 1 √ 2π Z t −∞ exp  −x 2 2  dx and 1 π(N )# ( 1 ≤ p ≤ N : sq(P (p)) − µqlogq(N r) σq(logqNr) 1 2 < t ) −−−−→ N →∞ 1 √ 2π Z t −∞ exp  −x 2 2  dx.

Proof. To prove this refinement we proceed in two steps, starting with an application of the following

Lemma 2.3 ( [11, Satz 6.9]). Let P (X) ∈ C[X] be a polynomial of degree r. If P (n) ∈ Z for all n ∈ Z, then there exists c0, . . . , cr ∈ N such that

P (x) = r X i=0 ci x i  .

Thus, in order to have P (N) ⊂ N, we get that P (X) ∈ Q[X].

Secondly, we take a closer look at the proof the Lemma 5 in [1]. We use the same notation throughout the rest of the proof. Let c ∈ N be the

(6)

smallest positive integer such that cP (X) = ˜P (X) ∈ Z[X]. By replacing P everywhere with ˜P /c we reach at Equation 4.10 of [1], which then reads

X n≤x t ˜P (n) c ! =X M TM X n≤x e AM HM ˜ P (n) c ! =X M TM X n≤x e  A′ M HMc′ ˜ P (n)  and X p≤x t ˜P (p) c ! =X M TM X p≤x e AM HM ˜ P (p) c ! =X M TM X p≤x e  A′M HMc′ ˜ P (p)  with A′M = AM (AM, c) , c′ = c (AM, c) and (A′M, HMc′) = 1. Let q = pe1

1 · · · pess be the prime decomposition of q. If q ∤ mh, then pett ∤ mh

for some 1 ≤ t ≤ s. Thus HMc′  mh+ qℓh−ℓh−1mh−1+ · · · + m1qℓh−ℓ1  = A′Mqℓh+1. Since pet

t ∤ mh and (A′M, HMc′) = 1 we get that ptℓtet | HMc′. Thus HMc′ ≥

qηℓh with η = e

tlogqpt. Similarly we get that HM ≥ qηℓs holds if q ∤ ms and

ms+1 = · · · = mh = 0. Therefore we may apply Lemma 1 and 2 of [1] and

the Theorem follows in the same way. 

3. Proof of Theorem 1.1

In the sequel, assume that N ≥ 2 is a fixed real number. For a given integer q ≥ 2 and a given polynomial P (X) ∈ Z[X] (with P (N) ⊂ N) of degree r ≥ 1 we define Aq,P = Aq,P(N ) to be the set of integers n with

1 ≤ n ≤ N such that sq(P (n)) is close to its mean value, i.e.,

Aq,P := n 1 ≤ n ≤ N : sq(P (n)) − µqr logqN ≤ σq(r logqN ) 3 4 o . (We remark that in fact any exponent larger than 12 in place of 34 would have done the job.) In a similar way, we define Bq,P = Bq,P(N ) to be the

set of integers n with 1 ≤ n ≤ N such that sq(P (pn)) is close to its mean

value (note that by the prime number theorem we have pN ∼ N log N, as

N → ∞), i.e., Bq,P := n 1 ≤ n ≤ N : sq(P (pn)) − µqr logq(N log N ) ≤ σq(r logq(N log N )) 3 4 o . In order to be able to apply the properties of the Ces`aro mean we need that both the numerator and the denominator of the ratios in (1.2) and (1.3) are near the mean. We first show that for N → ∞ we have #Bq,P ∼ N and

#Aq,P ∼ N. We then use asymptotic densities to show that there are only

few elements in [1, N ]\(Aq1,P1∩Aq2,P2) resp. [1, N ]\(Bq1,P1∩Bq2,P2). We will

then be able to restrict our attention to Aq1,P1∩ Aq2,P2 resp. Bq1,P1∩ Bq2,P2

(7)

We start with an application of Theorem 2.2. As N → ∞, we get that # ([1, N ] \ Aq,P) = # ( 1 ≤ n ≤ N : sq(P (n)) − µqr logqN σq(r logqN ) 1 2 > (r logqN ) 1 4 ) ≪ N Z ∞ (r logqN) 1 4 exp  −x 2 2  dx.

Thus the number of elements that lie not in Aq,P can be estimated by the

tail of the normal distribution. We have Z ∞ t exp  −x 2 2  dx ≤ Z ∞ t x t exp  −x 2 2  dx = expt2 2  t ,

where we have used that 0 < t ≤ x. Therefore, # ([1, N ] \ Aq,P) ≪ N exp − (r logqN )12 2 ! (r logqN )− 1 4 ≪ N (r logqN )54 ≪ q,P N (log N )54 . (3.1)

The same calculation also shows that

# ([1, N ] \ Bq,P) = # ( 1 ≤ n ≤ N : sq(P (pn)) − µqr logq(N log N ) σq(r logq(N log N )) 1 2 > (r logq(N log N ))14 ) ≪q,P N (log N )54 . (3.2)

Recall the setting of Theorem 1.1. The prime number theorem (in the form pN ∼ N log N) and a comparison of the lengths of the expansions give

max sq1(P1(n)) sq2(P2(n)) ,sq1(P1(pn)) sq2(P2(pn))  ≪q1,P1 log N, N → ∞,

uniformly for all n with 1 ≤ n ≤ N. Hence, we get from (3.1) that 1 N X n≤N n6∈Aq1,P1∩Aq2,P2 sq1(P1(n)) sq2(P2(n)) ≪q1,P1 log N N     X n≤N n6∈Aq1,P1 1 + X n≤N n6∈Aq2,P2 1     ≪q1,q2,P1 (log N )(log N ) −5 4 = o(1), (3.3)

and similarly from (3.2) that

(3.4) 1 N X n≤N n6∈Bq1,P1∩Bq2,P2 sq1(P1(pn)) sq2(P2(pn)) = o(1).

(8)

Now we turn to the elements which are in Aq1,P1∩ Aq2,P2. By the

defini-tions of these sets we get for all n ∈ Aq1,P1 ∩ Aq2,P2 (note that the

denomi-nator is positive), sq1(P1(n)) sq2(P2(n)) ≤ µq1r1logq1N + σq1(r1logq1N ) 3 4 µq2r2logq2N − σq2(r2logq2N ) 3 4 = µq1r1 log q1 + σq1r 3 4 1(logq1N ) −14(log q 1)− 3 4 µq2r2 log q2 − σq2r 3 4 2(logq2N ) −1 4(log q 2)− 3 4 , and sq1(P1(n)) sq2(P2(n)) ≥ µq1r1 log q1 − σq1r 3 4 1(logq1N ) −14(log q 1)− 3 4 µq2r2 log q2 + σq2r 3 4 2(logq2N ) −1 4(log q 2)− 3 4 .

This can be rephrased as follows. Let (Nk)k≥0 be any sequence of reals

with limk→∞Nk = ∞ and let (nk)k≥0 be any sequence of integers with

nk∈ Aq1,P1(Nk) ∩ Aq2,P2(Nk). Then lim k→∞ sq1(P1(nk)) sq2(P2(nk)) = µq1log q2 µq2log q1 ·rr1 2 .

A similar calculation shows that

sq1(P1(pn))

sq2(P2(pn))

≤ µq1r1logq1(N log N ) + σq1 r1logq1(N log N )

34

µq2r2logq2(N log N ) − σq2 r2logq2(N log N )

34

=

µq1r1

log q1



1 +log log Nlog N + σq1r 3 4 1(log q1)− 3 4(log N )− 1 4 

1 +log log Nlog N 

3 4

µq2r2

log q2



1 +log log Nlog N − σq2r 3 4 2(log q2)− 3 4(log N )− 1 4 

1 +log log Nlog N 

3 4

.

In a similar way we get the lower bound with the signs reversed. Again, we obtain as limit lim k→∞ sq1(P1(pnk)) sq2(P2(pnk)) = µq1log q2 µq2log q1 ·rr1 2 .

Now, since by (3.1) and (3.2) we have that

#Aq,P(N )/N ∼ #Bq,P(N )/N ∼ 1

as N → ∞, the sets Aq,P = SN ≥1Aq,P(N ) and Bq,P = SN ≥1Bq,P(N )

satisfy d(Aq,P) = d(Bq,P) = 1, and therefore

d(Aq1,P1 ∩ Aq2,P2) = d(Bq1,P1 ∩ Bq2,P2) = 1.

By Lemma 2.1, the limit for n → ∞ is not altered when we only look at those n that lie in these subsets of asymptotic density one. Thus we get for

(9)

the Ces`aro mean that (3.5) lim N →∞ 1 N X n≤N n∈Aq1,P1∩Aq2,P2 sq1(P1(n)) sq2(P2(n)) = µq1log q2 µq2log q1 ·rr1 2 .

A combination of (3.3) and (3.5) yields lim N →∞ 1 N X n≤N sq1(P1(n)) sq2(P2(n)) = lim N →∞ 1 N X n≤N n∈Aq1,P1∩Aq2,P2 sq1(P1(n)) sq2(P2(n)) + lim N →∞ 1 N X n≤N n6∈Aq1,P1∩Aq2,P2 sq1(P1(n)) sq2(P2(n)) = µq1log q2 µq2log q1 ·rr1 2 ,

which proves (1.2), and similarly we get (1.3). This completes the proof of

Theorem 1.1. 

4. Concluding remarks

The above results do not hold in general for arbitrary q-additive functions. For example, let f : N → N be such that f(n) = 1 for n ≥ 0. This function is q-additive (for any q ≥ 2) as it puts 1 on the least significant digit of n and 0 on all other digits. Then, for each r ≥ 1, we have that

lim N →∞ 1 N N X n=1 f (nr) f (n) = 1.

On the other hand, if f : N → N is q-additive with f(aqk) = 2k for a ∈

{0, . . . , q − 1} and k ≥ 0 then for each r ≥ 2, lim N →∞ 1 N N X n=1 f (nr) f (n) = ∞.

In order to get other non-trivial values for the limit, the values of f must depend on the position k as well as on the digit a. We conclude our discussion with the following

Conjecture. Let q, r ≥ 2 be integers. Then for each real ℓ ∈ [1, ∞) there exists a q-additive function f : N → N such that

lim N →∞ 1 N N X n=1 f (nr) f (n) = ℓ. Acknowledgment

The authors want to thank Peter J. Grabner (Graz University of Tech-nology) and Kevin G. Hare (University of Waterloo) for fruitful discussions on this problem.

(10)

References

[1] N. L. Bassily and I. K´atai, Distribution of the values of q-additive functions on poly-nomial sequences, Acta Math. Hungar. 68 (1995), no. 4, 353–361.

[2] M. Drmota, The joint distribution of q-additive functions, Acta Arith. 100 (2001), no. 1, 17–39.

[3] M. Drmota and G. Gutenbrunner, The joint distribution of Q-additive functions on polynomials over finite fields, J. Th´eor. Nombres Bordeaux 17 (2005), no. 1, 125–150. [4] M. Drmota and W. Steiner, The Zeckendorf expansion of polynomial sequences, J.

Th´eor. Nombres Bordeaux 14 (2002), no. 2, 439–475.

[5] G. H. Hardy, Divergent series, ´Editions Jacques Gabay, Sceaux, 1992, With a preface by J. E. Littlewood and a note by L. S. Bosanquet, Reprint of the revised (1963) edition.

[6] K. G. Hare, S. Laishram, and T. Stoll, Stolarsky’s conjecture and the sum of digits of polynomial values, Proc. Amer. Math. Soc. 139 (2011), no. 1, 39–49.

[7] M. G. Madritsch, Asymptotic normality of b-additive functions on polynomial se-quences in number systems, Ramanujan J. 21 (2010), no. 2, 181–210.

[8] M. G. Madritsch and A. Peth˝o, Asymptotic normality of additive functions on poly-nomial sequences in canonical number systems, J. Number Theory 131 (2011), no. 9, 1553–1574.

[9] M. G. Madritsch and T. Stoll, On simultaneous digital expansions of polynomial values, Acta Math. Hungar. (to appear).

[10] M. G. Madritsch and J. M. Thuswaldner, Additive functions for number systems in function fields, Finite Fields Appl. 16 (2010), no. 3, 204–229.

[11] A. Peth˝o, Algebraische Algorithmen, Friedr. Vieweg & Sohn, Braunschweig, 1999. [12] K. B. Stolarsky, The binary digits of a power, Proc. Amer. Math. Soc. 71 (1978),

no. 1, 1–5.

1. Universit´e de Lorraine, Institut Elie Cartan de Lorraine, UMR 7502, Vandoeuvre-l`es-Nancy, F-54506, France; 2. CNRS, Institut Elie Cartan de Lorraine, UMR 7502, Vandoeuvre-l`es-Nancy, F-54506, France

E-mail address: manfred.madritsch@univ-lorraine.fr

1. Universit´e de Lorraine, Institut Elie Cartan de Lorraine, UMR 7502, Vandoeuvre-l`es-Nancy, F-54506, France; 2. CNRS, Institut Elie Cartan de Lorraine, UMR 7502, Vandoeuvre-l`es-Nancy, F-54506, France

Références

Documents relatifs

The same method of polynomial approximation, as the one used in the above theorem, wasfirst exploited by Tumanov in [3], in proving that a given function isCR.. A repeated use

Using, on the one side, a general result in linear algebra due to Klingenberg (see [Kli54]) and on the other side, a theorem on the holonomy of pseudo-Riemannian ma- nifolds

In the spirit of a theorem of Wood [16], we give necessary and sufficient conditions for a family of germs of analytic hypersurfaces in a smooth projective toric variety X to

In the anisotropic extension of the liquid drop model the global minimizer of the surface energy P f (E) over sets |E| = m is (a dilation or translation of) the Wulff shape K

[r]

In this section, we construct certain bounded functions so that their Fourier coefficients have various prescribed properties, and so that the essential suprema

In particular ANRn, ANRc,, ANRm and ANRsm will mean absolute neighborhood retract for normal, collectionwise normal, metric and separable metric spaces

[7] Chunhui Lai, A lower bound for the number of edges in a graph containing no two cycles of the same length, The Electronic J. Yuster, Covering non-uniform hypergraphs