Abstract
Let \(q \geq 2\) be an integer and let \(s_{q}(n)\) be the sum-of-digits function in base q of the positive integer n. In this paper we obtain asymptotic formulae for the distribution of \((s_q(n^2 {\rm mod} q^k))_{n<q^k}\) and \((s_p(n^d {\rm mod} p^k))_{n<p^k}\) in residue classes modulo m, where \(q\geq 2\), \(m \geq 2\) and \(d \geq 2\) are general integers, \(p > 2\) is a prime. Furthermore, we give exact identities for the distribution of \((s_p(n^{d} {\rm mod} p^k))_{n<p^k}\)in residue classes modulo p. The properties of Dirichlet character sums and exponential sums play an important role in the proof of the results.
Similar content being viewed by others
References
Allouche, J.P., Shallit, J.: Automatic Sequences: Theory. Generalizations, Cambridge University Press (Cambridge, Applications (2003)
Bassily, N.L., Kátai, I.: Distribution of the values of \(q\)-additive functions on polynomial sequences. Acta Math. Hungar. 68, 353–361 (1995)
Copeland, A.H., Erdős, P.: Note on normal numbers. Bull. Amer. Math. Soc. 52, 857–860 (1946)
Dartyge, C., Tenenbaum, G.: Sommes des chiffres de multiples d'entiers. Ann. Inst. Fourier (Grenoble) 55, 2423–2474 (2005)
Dartyge, C., Tenenbaum, G.: Congruences de sommes de chiffres de valeurs polynomiales. Bull. London Math. Soc. 38, 61–69 (2006)
Davenport, H., Erdős, P.: Note on normal decimals. Canadian J. Math. 4, 58–63 (1952)
Delange, H.: Sur la fonction sommatoire de la fonction "somme des chiffres". Enseign. Math. 21, 31–47 (1975)
Drmota, M., Rivat, J.: The sum-of-digits function of squares. J. London Math. Soc. 72, 273–292 (2005)
Drmota, M., Mauduit, C., Rivat, J.: Primes with an average sum of digits. Compos. Math. 145, 271–292 (2009)
Drmota, M., Mauduit, C., Rivat, J.: The sum-of-digits function of polynomial sequences. J. Lond. Math. Soc. 84, 81–102 (2011)
A. O. Gelfond, Sur les nombres qui ont des propriétés additives et multiplicatives données, Acta Arith., 13 (1967/1968), 259–265
Hare, K.G., Laishram, S., Stoll, T.: Stolarsky's conjecture and the sum of digits of polynomial values. Proc. Amer. Math. Soc. 139, 39–49 (2011)
Madritsch, M., Stoll, T.: On simultaneous digital expansions of polynomial values. Acta Math. Hungar. 143, 192–200 (2014)
Madritsch, M., Stoll, T.: On a second conjecture of Stolarsky: the sum of digits of polynomial values. Arch. Math. (Basel) 102, 49–57 (2014)
Mauduit, C., Rivat, J.: La somme des chiffres des carrés. Acta Math. 203, 107–148 (2009)
Mauduit, C., Rivat, J.: Sur un problème de Gelfond: la somme des chiffres des nombres premiers. Ann. of Math. 171, 1591–1646 (2010)
Mauduit, C., Rivat, J.: Prime numbers along Rudin-Shapiro sequences. J. Eur. Math. Soc. 17, 2595–2642 (2015)
Mauduit, C., Rivat, J.: Rudin-Shapiro sequences along squares. Trans. Amer. Math. Soc. 370, 7899–7921 (2018)
Peter, M.: The summatory function of the sum-of-digits function on polynomial sequences. Acta Arith. 104, 85–96 (2002)
Shiokawa, I.: On the sum of digits of prime numbers. Proc. Japan Acad. 50, 551–554 (1974)
Stolarsky, K.B.: The binary digits of a power. Proc. Amer. Math. Soc. 71, 1–5 (1978)
Stoll, T.: The sum of digits of polynomial values in arithmetic progressions. Funct. Approx. Comment. Math. 47, 233–239 (2012)
Acknowledgements
The authors would like to express their gratitude to the referee for helpful and detailed comments. This paper was completed during a pleasant visit of Huaning Liu to Marseille in July 2019. He wishes to thank the Institut de Mathématiques de Marseille for kind hospitality.
Author information
Authors and Affiliations
Corresponding author
Additional information
This work is supported by National Natural Science Foundation of China under Grant No. 12071368, and the Science and Technology Program of Shaanxi Province of China under Grants No. 2019JM-573 and 2020JM-026.
Rights and permissions
About this article
Cite this article
Liu, H., Mauduit, C. On the distribution of the truncated sum-of-digits function of polynomial sequences in residue classes. Acta Math. Hungar. 164, 360–376 (2021). https://doi.org/10.1007/s10474-021-01151-9
Received:
Revised:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s10474-021-01151-9