We consider the complex sum-of-digits function s q for squares with respect to special bases q of a canonical number system in the Gaussian integers Z [ i ] . In particular, we show that the sequence ( α s q ( z 2 ) ) z ∈ Z [ i ] is uniformly distributed modulo 1 if and only if α is irrational. Furthermore we introduce special sets of Gaussian integers (related to Følner sequences) for which we can determine the order of magnitude of the number of integers z for which s q ( z 2 ) lies in a fixed residue class mod m. This extends a recent result of Mauduit and Rivat to Z [ i ] . We also improve an estimate of Gittenberger and Thuswaldner in order to show a local limit theorem for the sum-of-digits function of squares. We can provide asymptotic expansions for # { z ∈ Z [ i ] ∩ D N : s q ( z 2 ) = k } where ( D N ) N ∈ N is a sequence of convex sets.
Read full abstract