arXiv · 2108.11495
Binary Signed-Digit Integers and the Stern Diatomic Sequence
Abstract
Stern's diatomic sequence is a well-studied and simply defined sequence with many fascinating characteristics. The binary signed-digit representation of integers is an alternative representation of integers with much use in efficient computation, coding theory and cryptography. We link these two ideas here, showing that the number of $i$-bit binary signed-digit representations of an integer $n$ with $n<2^i$ is the $(2^i-n)^\text{th}$ element in Stern's diatomic sequence. This correspondence makes the vast range of results known for Stern's diatomic sequence available for consideration in the study of binary signed-digit integers.
Explore related subjects
Keep this discovery
Laura Monroe. 2021-08-25. Binary Signed-Digit Integers and the Stern Diatomic Sequence. https://doi.org/10.1007/s10623-021-00903-6
Cite the original work for its findings. Save a collection to share your selection of sources.