English

Arithmetic Algorithms for Hereditarily Binary Natural Numbers

Data Structures and Algorithms 2013-06-06 v1 Discrete Mathematics Mathematical Software

Abstract

We study some essential arithmetic properties of a new tree-based number representation, {\em hereditarily binary numbers}, defined by applying recursively run-length encoding of bijective base-2 digits. Our representation expresses giant numbers like the largest known prime number and its related perfect number as well as the largest known Woodall, Cullen, Proth, Sophie Germain and twin primes as trees of small sizes. More importantly, our number representation supports novel algorithms that, in the best case, collapse the complexity of various computations by super-exponential factors and in the worse case are within a constant factor of their traditional counterparts. As a result, it opens the door to a new world, where arithmetic operations are limited by the structural complexity of their operands, rather than their bitsizes.

Keywords

Cite

@article{arxiv.1306.1128,
  title  = {Arithmetic Algorithms for Hereditarily Binary Natural Numbers},
  author = {Paul Tarau},
  journal= {arXiv preprint arXiv:1306.1128},
  year   = {2013}
}

Comments

unpublished draft

R2 v1 2026-06-22T00:28:33.181Z