← Latest papers
🔢 mathematics

Carryless Pairing: Additive Pairing in the Fibonacci Basis

This paper introduces a carryless, injective pairing map from N2\mathbb{N}^2 to N\mathbb{N} that encodes two numbers into disjoint Zeckendorf index bands separated by a delimiter, enabling evaluation and inversion through additive support operations without multiplication or factorization, with core correctness verified in Rocq.

Original authors: Milan Rosko

Published 2026-05-12
📖 6 min read🧠 Deep dive

Original authors: Milan Rosko

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

The Big Idea: Packing Two Boxes Without Breaking Them

Imagine you have two boxes of Lego bricks, labeled Box X and Box Y. You want to glue them together into one giant structure so you can carry them around as a single object, but you also want to be able to pull them apart later without using any glue, tape, or special tools.

Most ways of combining numbers (like standard math or computer code) are like using glue. To separate them later, you often have to do complex calculations, factorize numbers, or "carry" digits over (like when 9+1=109 + 1 = 10 in normal addition, where the 1 "carries" over to the next column). This paper proposes a new way to combine numbers that requires zero glue and zero carrying.

The Setting: The Fibonacci "Lego Set"

To understand how this works, we need to change the rules of how we build numbers. Instead of using the standard base-10 system (ones, tens, hundreds), this paper uses the Fibonacci sequence ($1, 2, 3, 5, 8, 13, 21...$).

In this system, every number has a special "Lego blueprint" called a Zeckendorf representation. The golden rule of this blueprint is: You can never use two consecutive Fibonacci numbers.

  • Bad: 5+35 + 3 (because 5 and 3 are next to each other in the sequence).
  • Good: 5+25 + 2 (because 5 and 2 have a gap).

This "no-consecutive" rule is the secret sauce that makes the whole trick possible.

The Magic Trick: The "Even" and "Odd" Bands

The author, Milan Rosko, invented a method to pack Box X and Box Y into a single number by putting them in different "neighborhoods" of the Fibonacci sequence.

  1. The Even Neighborhood (Box X):
    The paper takes the blueprint for number X and shifts all its Lego pieces to even-numbered positions in the Fibonacci sequence.

    • Analogy: Imagine X is a set of books. We put them all on the even-numbered shelves of a library.
  2. The Delimiter (The Fence):
    Before we put Box Y in, we need to know how far X extends. The paper calculates a "fence" or delimiter based on the size of X. Let's call this fence B.

    • Analogy: If X takes up shelves 2 through 10, the fence is built at shelf 12.
  3. The Odd Neighborhood (Box Y):
    Now, we take the blueprint for number Y and shift its Lego pieces to odd-numbered positions, but only starting after the fence (B).

    • Analogy: We put all the books for Y on the odd-numbered shelves, but only on shelves 13, 15, 17, etc. We leave the odd shelves before the fence empty.

Why It's "Carryless" (The Best Part)

In normal math, if you add two numbers, you might get a "carry" (e.g., 5+5=105+5=10). In this Fibonacci system, if you add two numbers that don't share any "consecutive" spots, no carrying happens.

Because the paper puts X on even shelves and Y on odd shelves (with a gap in between), the two sets of Lego pieces never touch.

  • X is on even spots.
  • Y is on odd spots (far away).
  • There are no two consecutive numbers in the final mix.

Result: The combined number is already in its perfect, "normal" form. You don't need to do any cleanup or math to fix it. It's like putting two non-touching puzzle pieces together; they just fit perfectly.

How to Unpack It (Decoding)

To get the original boxes back, you just look at the combined number and ask two simple questions:

  1. Who is on the even shelves? (That's X).
  2. Who is on the odd shelves after the fence? (That's Y).

Because the rules are so strict (no touching, specific gaps), there is no confusion. You can always tell exactly which piece belongs to X and which belongs to Y.

Important Limitations (The "Not Surjective" Part)

The paper admits that this method doesn't create a code for every possible number.

  • Analogy: Imagine a parking lot where cars (numbers) can only park in specific spots. If you try to park a car in a spot that violates the "no-touching" rule or the "fence" rule, that spot is empty.
  • The paper calls this injective but not surjective.
    • Injective: Every pair of (X, Y) gets a unique code. No two pairs make the same number.
    • Not Surjective: Some numbers in the world cannot be formed by this method. If you pick a random number, it might not be a valid "packed" pair.

However, the paper provides a simple test: If you try to unpack a number and then re-pack it, and you get the exact same number back, then it was a valid pair. If the number changes, it wasn't a valid pair to begin with.

Why Does This Matter? (The "Why")

The author isn't trying to make a faster calculator for your phone. The motivation is deeper, rooted in logic and math foundations:

  1. Pure Addition: Most ways of combining numbers rely on multiplication or complex division (like breaking a number into prime factors). This method relies only on addition and checking positions.
  2. Weak Math Systems: In some very basic systems of logic (where you aren't allowed to use multiplication), you can't prove that you can combine two numbers and get them back. This paper shows a way to do it using only simple addition, which helps mathematicians understand the absolute minimum requirements needed for logic to work.
  3. Proof Checking: Because the process is so simple (just looking at positions and adding), it's very easy for a computer to verify that the math is correct without getting confused.

Summary in One Sentence

This paper introduces a clever way to combine two numbers into one using the Fibonacci sequence, where the two numbers live in separate, non-touching "zones" so they can be added together without any messy math, and pulled apart just by looking at where they are sitting.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →