On the Existence of Integers with at Most 3 Prime Factors Between Every Pair of Consecutive Squares

This paper proves that for every integer n1n \geq 1, the interval between consecutive squares (n2,(n+1)2)(n^2, (n+1)^2) contains an integer with at most three prime factors, improving the previous bound of four by combining finite verification up to $10^{31}$ with explicit sieve-theoretic arguments.

Peter Campbell

Published Thu, 12 Ma
📖 5 min read🧠 Deep dive

Imagine the number line as an infinite highway stretching out forever. On this highway, prime numbers are like rare, golden islands. They are the building blocks of all other numbers, but they are scattered sparsely and unpredictably.

For over a century, mathematicians have been obsessed with a specific question about these islands: If you look at the stretch of road between two perfect squares (like between 100 and 121, or 1,000,000 and 1,000,000 + 2,000 + 1), is there always at least one golden island (a prime number)?

This is known as Legendre's Conjecture. It sounds simple, but it is incredibly hard to prove. It's like trying to prove that every single mile of a specific type of highway has a gas station, even though you can't see the whole highway at once.

The Problem: The "Prime" Gap

The author of this paper, Peter Campbell, admits that proving there is always a prime number in these intervals is currently impossible with our best tools. It's like trying to find a needle in a haystack, but the haystack keeps growing.

So, instead of looking for a "pure" prime (which has only one factor: itself), Campbell decided to look for "almost primes."

Think of an almost prime as a "near-miss" or a "hybrid" vehicle.

  • A Prime is a pure electric car (1 factor).
  • An Almost Prime is a car with a small engine and a battery (2 or 3 factors). It's not pure, but it's very close.

The question changes from: "Is there always a pure electric car in this stretch?" to "Is there always a car with at most 3 parts in this stretch?"

The Previous Best Attempt

Before this paper, the best anyone had done was to prove that there is always a car with at most 4 parts in these intervals. It was a good start, but mathematicians wanted to get closer to the "pure" ideal. They wanted to prove there was always a car with 3 parts or fewer.

The Solution: A Two-Pronged Attack

Campbell's paper is like a master detective story that uses two different strategies to solve the case, depending on how big the numbers are.

1. The "Small Numbers" Strategy: The Super-Computer Check

For the "small" stretches of the highway (numbers up to a certain huge limit), the proof relies on brute force computation.

  • The Analogy: Imagine checking every single house on a small street to see if it has a mailbox. You can't do this for the whole world, but for a small neighborhood, you can send a robot to check every single door.
  • The Trick: The author didn't just check for primes. He used a clever trick involving "semi-primes" (numbers made of exactly two primes). He showed that if a prime doesn't exist in a specific small gap, you can construct a number with just two factors that fits perfectly in that gap. This allowed him to verify the rule for numbers up to a massive limit ($10^{31}$), which is far beyond what a human could count.

2. The "Large Numbers" Strategy: The Sieve

For the "huge" numbers (where computers can't check every single one), the author uses a mathematical tool called a Sieve.

  • The Analogy: Imagine you have a giant bucket of sand (all the numbers in the interval). You want to find a specific type of grain. You pour the sand through a series of sieves (mesh screens).
    • The first sieve removes numbers divisible by 2.
    • The second removes numbers divisible by 3.
    • And so on.
  • The Innovation: Previous mathematicians used a standard sieve that was a bit "clunky" for this specific shape of interval (the space between squares). Campbell adapted a newer, more sophisticated sieve technique (using "logarithmic weights," which is like adding a special lubricant to the sieve so it catches the right grains more efficiently).
  • The Result: By tuning the mesh size of the sieve perfectly, he proved that even in the vast, uncharted territory of huge numbers, you can never empty the bucket completely. There will always be at least one "grain" left that has 3 or fewer prime factors.

The "Square" vs. "Cube" Challenge

The paper mentions that this problem is harder for "squares" (like n2n^2) than for "cubes" (n3n^3).

  • The Analogy: Think of the interval between squares as a narrow alleyway. It's so tight that there's very little room to maneuver.
  • Think of the interval between cubes as a wide boulevard. There's plenty of space to find a prime.
  • Because the "alleyway" (squares) is so narrow, the mathematical tools have to be much more precise. Campbell had to tweak the tools specifically for this narrow space, rather than just using the tools designed for the wide boulevard.

The Big Takeaway

Peter Campbell didn't solve the ultimate mystery (proving there is always a pure prime). But he took a giant leap forward.

He proved that in every single gap between two consecutive squares, no matter how large the numbers get, there is always a number that is "almost" prime—specifically, a number made of at most 3 prime building blocks.

It's like saying: "We can't guarantee there's a gas station on every mile of this highway, but we can guarantee there's always a car with a spare tire and a full tank within the next mile." It's a massive step toward understanding how numbers are distributed in the universe.