← Back to Blogs
Terence Tao

Visualizing the Gilbreath expectation sequence

# Visualizing the Gilbreath Expectation Sequence

The Gilbreath conjecture is one of number theory's most tantalizing unsolved problems, concerning the repeated application of absolute differences to the sequence of prime numbers. Starting with the primes and iteratively taking absolute differences between consecutive terms produces rows of numbers that, according to the conjecture, always begin with 1. Despite being easy to state and computationally verified to enormous depths, the conjecture remains unproven, making it a natural subject of both theoretical and experimental investigation.

A recent paper explores the Gilbreath expectation sequence, a probabilistic perspective on this classical problem that sheds new light on the conjecture's underlying structure. The author has now taken a figure originally generated in Python for that paper and transformed it into an interactive, animated visualization applet, making the mathematical content more accessible and explorable for a broader audience. This conversion was made straightforward through the use of modern coding agents, which streamlined the process of building the interactive tool from existing code.

The project highlights a broader and exciting trend in mathematical communication: as AI-assisted coding tools become more capable, researchers can more easily translate static figures from published papers into dynamic, interactive experiences. For a subject like the Gilbreath conjecture, where visual intuition about patterns in difference sequences can be genuinely illuminating, this kind of interactive presentation has real mathematical value. The development suggests that the barrier between research-level mathematics and engaging public exposition may be shrinking in meaningful ways.

Read original →