Papers
Topics
Authors
Recent
Search
2000 character limit reached

Binary Signed-Digit Integers and the Stern Polynomial

Published 27 Aug 2021 in math.NT | (2108.12417v1)

Abstract: The binary signed-digit representation of integers is used for efficient computation in various settings. The Stern polynomial is a polynomial extension of the well-studied Stern diatomic sequence, and has itself has been investigated in some depth. In this paper, we show previously unknown connections between BSD representations and the Stern polynomial. We derive a weight-distribution theorem for $i$-bit BSD representations of an integer $n$ in terms of the coefficients and degrees of the terms of the Stern polynomial of $2i-n$. We then show new recursions on Stern polynomials, and from these and the weight-distribution theorem obtain similar BSD recursions and a fast $\mathcal{O}(n)$ algorithm that calculates the number and number of $0$s of the optimal BSD representations of all of the integers of NAF-bitlength $\log(n)$ at once, which then may be compared.

Authors (1)

Summary

No one has generated a summary of this paper yet.

Paper to Video (Beta)

No one has generated a video about this paper yet.

Whiteboard

No one has generated a whiteboard explanation for this paper yet.

Open Problems

We haven't generated a list of open problems mentioned in this paper yet.

Continue Learning

We haven't generated follow-up questions for this paper yet.

Collections

Sign up for free to add this paper to one or more collections.

Tweets

Sign up for free to view the 2 tweets with 1 like about this paper.