We study two positional numeration systems which are known for allowing very efficient addition and multiplication of complex numbers. The first one uses the base and the digit set . In this numeration system, every non-zero Gaussian integer~ has an infinite number of representations. We focus on optimal representations of~ – i.e., representations with minimal possible number of non-zero digits. One of the optimal representations of~ has the so-called -non-adjacent form (-NAF). We provide an upper bound on the number of distinct optimal representations of~, depending on the number of non-zero digits in the -NAF of~. We also characterize the Gaussian integers for which the upper bound is attained. The same questions are answered also for the second numeration system with base and digit set , where . In this system, every Eisenstein integer has a -NAF, which is optimal. This paper can be understood as an analogy to the result of Grabner and Heuberger obtained for the signed binary numeration system, using base and digit set .

生成讲解博客的中文版本

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