Minimizing the number of carries in addition

preprint2012arXivOpen access

Abstract

When numbers are added in base bb in the usual way, carries occur. If two random, independent 1-digit numbers are added, then the probability of a carry is b−12b\frac{b-1}{2b}. Other choices of digits lead to less carries. In particular, if for odd bb we use the digits {−(b−1)/2,−(b−3)/2,...,...(b−1)/2}\{-(b-1)/2, -(b-3)/2,...,...(b-1)/2\} then the probability of carry is only b2−14b2\frac{b^2-1}{4b^2}. Diaconis, Shao and Soundararajan conjectured that this is the best choice of digits, and proved that this is asymptotically the case when b=pb=p is a large prime. In this note we prove this conjecture for all odd primes pp.

Explore this paper’s authors, topics and related work.

Building this map preview

BZPEER is loading the nearby papers, people, topics and institutions for this page.

Reviews 0

Write a reviewWrite

No reviews yet.

Discussion 0

Add a commentWrite

No comments yet.