Skip to main content
Top
Published in: Designs, Codes and Cryptography 12/2021

05-10-2021

Binary signed-digit integers and the Stern diatomic sequence

Author: Laura Monroe

Published in: Designs, Codes and Cryptography | Issue 12/2021

Login to get access

Activate our intelligent search to find suitable subject content or patents.

search-config
loading …

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.
Literature
1.
go back to reference Avizienis, A.: Signed-digit number representations for fast parallel arithmetic. IRE Trans. Comput. EC-10(3), 389–400 (1961) Avizienis, A.: Signed-digit number representations for fast parallel arithmetic. IRE Trans. Comput. EC-10(3), 389–400 (1961)
8.
go back to reference Dijkstra, E.W.: Selected Writings on Computing: A Personal Perspective, pp. 215–232. Springer-Verlag New York, Inc., New York, NY, USA (1982) Dijkstra, E.W.: Selected Writings on Computing: A Personal Perspective, pp. 215–232. Springer-Verlag New York, Inc., New York, NY, USA (1982)
10.
go back to reference Eğecioğlu, Ö., Koç, Ç.K.: Fast modular exponentiation. Proceedings of 1990 Bilkent International Conference on New Trends in Communication, Control, and Signal Processing 1, 188–194 (1990) Eğecioğlu, Ö., Koç, Ç.K.: Fast modular exponentiation. Proceedings of 1990 Bilkent International Conference on New Trends in Communication, Control, and Signal Processing 1, 188–194 (1990)
17.
go back to reference Northshield, S.: Stern’s diatomic sequence 0, 1, 1, 2, 1, 3, 2, 3, 1, 4,.... Amer. Math. Monthly 117(7), 581–598 (2010) Northshield, S.: Stern’s diatomic sequence 0, 1, 1, 2, 1, 3, 2, 3, 1, 4,.... Amer. Math. Monthly 117(7), 581–598 (2010)
Metadata
Title
Binary signed-digit integers and the Stern diatomic sequence
Author
Laura Monroe
Publication date
05-10-2021
Publisher
Springer US
Published in
Designs, Codes and Cryptography / Issue 12/2021
Print ISSN: 0925-1022
Electronic ISSN: 1573-7586
DOI
https://doi.org/10.1007/s10623-021-00903-6

Other articles of this Issue 12/2021

Designs, Codes and Cryptography 12/2021 Go to the issue

Premium Partner