The Number of Solutions to $ax+by+cz=n$ for Fibonacci and Lucas triplets

This paper derives exact formulas for the number of non-negative integer solutions to the linear Diophantine equation $ax+by+cz=n$ when the coefficients a,b,ca, b, c are three consecutive Fibonacci or Lucas numbers, thereby resolving previously unsolved summations of floor functions found in Binner's earlier reciprocity-based approach.

Original authors: Pooja Teotia

Published 2026-04-14
📖 4 min read🧠 Deep dive

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

Imagine you are a baker trying to sell boxes of cookies. You have three types of boxes:

  • Small boxes that hold aa cookies.
  • Medium boxes that hold bb cookies.
  • Large boxes that hold cc cookies.

You have a huge pile of nn cookies, and you want to know: How many different ways can you pack exactly nn cookies into these boxes using only whole numbers of boxes?

This is a classic math puzzle called the "Coin Problem" or "Frobenius Coin Problem." For a long time, mathematicians had a way to solve this, but the answer was like a messy recipe with a huge list of steps (sums of floor functions) that was hard to calculate quickly. It was like trying to count every single grain of sand on a beach by picking them up one by one.

The Big Breakthrough

In 2020, a mathematician named Binner gave us a better recipe, but it still required doing a lot of repetitive counting. The author of this paper, Pooja Teotia, asked a clever question: "What if the sizes of our boxes (a,b,ca, b, c) aren't just random numbers, but follow a special pattern?"

She looked at two famous number patterns:

  1. Fibonacci Numbers: 1, 1, 2, 3, 5, 8, 13... (where each number is the sum of the two before it).
  2. Lucas Numbers: 2, 1, 3, 4, 7, 11, 18... (a similar pattern starting with different numbers).

Teotia discovered that if your box sizes are three consecutive numbers from these patterns (like 5, 8, 13 or 11, 18, 29), the messy recipe disappears! The complex counting steps cancel each other out, leaving you with a clean, simple formula.

The Magic of the "Special Boxes"

Why do these specific numbers work so well?

Think of the numbers in the Fibonacci and Lucas sequences as having a secret handshake. Because of how they are built, they have a special mathematical relationship (called "modular inverses") that makes them "talk" to each other perfectly.

In the paper, Teotia shows that when you use these special triplets:

  • The complicated "counting loops" in the formula turn into zeros.
  • One part of the formula simplifies into a neat triangle number (like stacking blocks).
  • The rest becomes a straightforward calculation.

It's like finding a shortcut through a dense forest. Instead of hacking your way through the trees (doing hundreds of calculations), you find a hidden path that takes you straight to the destination.

The Result: A Crystal Clear Answer

The paper provides two "magic spells" (formulas):

  1. For Fibonacci Triplets: If your boxes hold Fi,Fi+1,Fi+2F_i, F_{i+1}, F_{i+2} cookies, here is the exact number of ways to pack nn cookies.
  2. For Lucas Triplets: If your boxes hold Li,Li+1,Li+2L_i, L_{i+1}, L_{i+2} cookies, here is the exact number of ways.

Example from the paper:
Imagine you have boxes of size 144, 233, and 377 (which are three consecutive Fibonacci numbers). You have 425,896 cookies.

  • Before this paper: A computer would have to run a slow, complex program to count the possibilities.
  • With this paper: You can plug the numbers into Teotia's new formula and instantly get the answer: 7,178 different ways to pack the cookies.

Why Does This Matter?

While packing cookies might seem like a simple game, this kind of math is used in:

  • Cryptography: Securing your online banking.
  • Computer Science: Optimizing how data is stored.
  • Physics: Understanding how particles arrange themselves.

By finding these "exact formulas" for special cases, Teotia has given mathematicians and scientists a powerful new tool. She didn't just solve one puzzle; she showed us that when nature follows a pattern (like the Fibonacci sequence), the universe often hides a simpler, more beautiful solution waiting to be found.

In short: The paper takes a messy, hard-to-solve math problem and shows that if you choose your numbers carefully (using Fibonacci or Lucas sequences), the answer becomes as clear and simple as counting your fingers.

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 →