English

A Linear-Size Block-Partition Fibonacci Encoding for G\"odel Numbering

Logic in Computer Science 2026-03-27 v1 Information Theory math.IT

Abstract

We construct an encoding of finite strings over a fixed finite alphabet as natural numbers, based on a block partition of the Fibonacci sequence. Each position in the string selects one Fibonacci number from a dedicated block, with unused indices between blocks guaranteeing non-adjacency. The encoded number is the sum of the selected Fibonacci numbers, and Zeckendorf's theorem guarantees that this sum uniquely determines the selection. The encoding is injective, the string length is recoverable from the code, and the worst-case digit count of the encoded number grows as Θ(m)\Theta(m) for strings of length mm, matching the information-theoretic lower bound up to a constant factor. We also prove that the natural right-nested use of Rosko's (2025) binary carryless pairing for sequence encoding has worst-case Θ(2m)\Theta(2^m) digit growth, an exponential blowup that the block-partition construction avoids entirely.

Keywords

Cite

@article{arxiv.2603.25307,
  title  = {A Linear-Size Block-Partition Fibonacci Encoding for G\"odel Numbering},
  author = {Zoltán Sóstai},
  journal= {arXiv preprint arXiv:2603.25307},
  year   = {2026}
}

Comments

6 pages

R2 v1 2026-07-01T11:39:02.580Z