English

Binary Signed-Digit Integers and the Stern Diatomic Sequence

Number Theory 2021-10-07 v2 Combinatorics

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 ii-bit binary signed-digit representations of an integer nn with n<2in<2^i is the (2in)th(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.

Keywords

Cite

@article{arxiv.2108.11495,
  title  = {Binary Signed-Digit Integers and the Stern Diatomic Sequence},
  author = {Laura Monroe},
  journal= {arXiv preprint arXiv:2108.11495},
  year   = {2021}
}

Comments

13 pages, 0 figures. Portions of this previously appeared as arXiv:2103.05810 which was split for publication. To appear in Designs, Codes and Cryptography

R2 v1 2026-06-24T05:25:30.568Z