Binary Signed-Digit Integers, the Stern Diatomic Sequence and Stern Polynomials

03/10/2021
by   Laura Monroe, et al.
0

Stern's diatomic sequence is a well-studied and simply defined sequence with many fascinating characteristics. The binary signed-digit (BSD) representation of integers is used widely in efficient computation, coding theory and other applications. We link these two objects, showing that the number of i-bit binary signed-digit representations of an integer n<2^i is the (2^i-n)^th element in Stern's diatomic sequence. This correspondence makes the vast range of results known about the Stern diatomic sequence available for consideration in the study of binary signed-digit integers, and vice versa. Applications of this relationship discussed in this paper include a weight-distribution theorem for BSD representations, linking these representations to Stern polynomials, a recursion for the number of optimal BSD representations of an integer along with their Hamming weight, stemming from an easy recursion for the leading coefficients and degrees of Stern polynomials, and the identification of all integers having a maximal number of such representations.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
01/13/2018

Waring's Theorem for Binary Powers

A natural number is a binary k'th power if its binary representation con...
research
11/22/2020

Preimages of p-Linearized Polynomials over p

Linearized polynomials over finite fields have been intensively studied ...
research
07/18/2021

Rotating Binaries

This paper investigates the behaviour of rotating binaries. A rotation b...
research
02/08/2023

Beating binary powering for polynomial matrices

The Nth power of a polynomial matrix of fixed size and degree can be com...
research
03/20/2022

Stability Of Matrix Polynomials In One And Several Variables

The paper presents methods of eigenvalue localisation of regular matrix ...
research
09/23/2018

Quantitatively Admissible Representations and the "Main Theorem" of Continuous COMPLEXITY Theory

Choosing an encoding over binary strings for input/output to/by a Turing...

Please sign up or login with your details

Forgot password? Click here to reset