Let be a strictly increasing linear recurrent sequence of integers with having characteristic polynomial . It is well known that each positive integer can be uniquely represented by the so-called greedy expansion for $\ell \in G_\ell \le \nu < G_{\ell+1}$. Here the digits are defined recursively in a way that $0\le \nu - \varepsilon_{\ell}(\nu) G_\ell - \cdots - \varepsilon_j(\nu) G_j < G_j0 \le j \le \ell$. In the present paper we study the sum-of-digits function under certain natural assumptions on the sequence . In particular, we determine its level of distribution . To be more precise, we show that for with we have for each and all that Here can be computed explicitly and we have for . As an application we show that $#{ k\le x ,:, s_G(k) \equiv r \pmod{s}, ; k \hbox{ has at most two prime factors} } \gg x/\log x $ provided that the coefficient is not too small. Moreover, using Bombieri’s sieve an “almost prime number theorem” for follows from our result. Our work extends earlier results on the classical -ary sum-of-digits function obtained by Fouvry and Mauduit.

生成讲解博客的中文版本

生成AI智能校验的中文版本