The diagonalization method and Brocard's problem

This paper introduces a diagonalization method for functions from natural numbers to real numbers and applies it to prove that the equation Γr(n)+k=m2\Gamma_r(n) + k = m^2 has only a finite number of solutions for any fixed natural numbers kk and rr.

Theophilus Agama

Published 2026-03-10
📖 4 min read🧠 Deep dive

Imagine you are a detective trying to solve a very old, very stubborn mystery. The mystery is called Brocard's Problem.

The Old Mystery: The Factorial Puzzle

For over a century, mathematicians have been asking a simple question:

"If you take a number, multiply it by every number smaller than it (this is called a factorial, written as n!n!), add 1, and see if the result is a perfect square (like 4, 9, 16, 25), how many times does this happen?"

For example:

  • $4! + 1 = 24 + 1 = 25(Whichis (Which is 5^2$. Yes!)
  • $5! + 1 = 120 + 1 = 121(Whichis (Which is 11^2$. Yes!)
  • $7! + 1 = 5040 + 1 = 5041(Whichis (Which is 71^2$. Yes!)

But after checking millions of numbers, no one has found any more. The big question is: Are there only these three, or does the pattern continue forever?

The New Detective: The "Truncated" Approach

The author of this paper, Theophilus Agama, decided to tackle a slightly different version of the mystery. Instead of multiplying everything down to 1 (like n!n!), he decided to stop the multiplication early.

Imagine you are building a tower out of blocks.

  • The Old Way (Factorial): You stack blocks from the top all the way to the ground.
  • The New Way (Truncated Gamma): You only stack the top few blocks. You ignore the bottom ones.

Mathematically, this is called Γr(n)\Gamma_r(n). It's like taking the factorial and saying, "Okay, stop multiplying after rr steps."

The author asks: "If we use this shorter tower, add a small number (kk), and check if it's a perfect square, will we find a finite number of solutions, or will they go on forever?"

The Secret Weapon: The "Diagonalization" Method

To solve this, the author invented a new detective tool called Diagonalization.

Here is the analogy:
Imagine you have a long, winding road (the number line). You are looking for specific "treasure spots" where a magic condition is met (where the number plus kk becomes a perfect square).

  1. The Map (The Trace): Instead of checking every single spot one by one, the author draws a "trace" or a shadow of the road. He calculates the "weight" of all the treasure spots found so far.
  2. The Balance Scale (The Inequality): He puts this weight on a giant balance scale. On the other side, he puts a "control weight" based on how fast the road is growing and how "smooth" it is.
    • If the road grows too fast or too wildly, the scale tips, and the math says: "There can't be too many treasure spots."
    • If the scale balances in a specific way, it proves that the treasure spots must eventually run out.

The Big Discovery

The author applied this "Diagonalization" tool to the "Truncated" towers.

He proved that for any fixed "stop point" (rr) and any fixed "add-on number" (kk), the equation Γr(n)+k=m2\Gamma_r(n) + k = m^2 can only have a finite number of solutions.

In plain English:
Even though the numbers get huge, the "Truncated" towers grow so predictably and smoothly that the "perfect square" condition can only happen a limited number of times. Eventually, the numbers get so big and spread out that they simply stop hitting the perfect square targets.

Why This Matters

  • It's Unconditional: Most previous attempts to solve Brocard's problem relied on big, unproven guesses (conjectures). This paper proves the result for the truncated version using only solid, standard math (calculus and inequalities).
  • It's a New Toolkit: The author didn't just solve one equation; he built a new "detective kit" (the diagonalization method). This kit can be used to solve other similar puzzles where numbers grow in a predictable, polynomial way.

The Bottom Line

The paper says: "We can't quite solve the original, super-hard Brocard problem yet. But, if we look at a slightly simpler version where we stop the multiplication early, we can prove with 100% certainty that the answers are finite. And we did it using a clever new way of looking at the numbers, like balancing a scale."