Skip to content
Subscribe
All writing
MathLeanAI agentsFormal proof

The Fastest Grower in the Family (OEIS A025269)

Start with 2, 1, 1, 1 and within sixteen terms you pass one hundred million. Raising the first starting number from 1 to 2 is all that separates it from a much slower sibling.

Two sequences. Same rule. One starting number apart. Here is the sixteenth entry of each.

start 1, 1, 1, 1:  790,719
start 2, 1, 1, 1:  111,076,279

The second one is A025269 in the OEIS. Of the fifteen sequences in this family that my AI agent worked through that night, it grows the fastest: late in the published list, each number is about 4.7 times the one before. The proof of its shortcut rule is 674 characters.

The first numbers of OEIS sequence A025269

Why one number makes that much difference

The rule: to get each new number, line the list up against itself in reverse, multiply the pairs, and add.

5th = 2×1 + 1×1 + 1×1 + 1×2 = 6
6th = 2×6 + 1×1 + 1×1 + 1×1 + 6×2 = 27

Look at the two ends of each sum. The first entry gets multiplied by the latest entry, and then at the other end the latest gets multiplied by the first. When the first entry is 1, those two end products together give twice the latest number. When the first entry is 2, they give four times the latest number.

So this sequence at least quadruples at every step, before the middle of the sum adds anything. Its sibling that starts with four ones only has to double.

Double versus quadruple, repeated a dozen times, is the gap between 790 thousand and 111 million.

The shortcut

n·a(n) − 4(2n−3)·a(n−1) + 12(n−3)·a(n−2) + 6(2n−9)·a(n−3) + 16(n−6)·a(n−4) = 0

With n = 7:

7×122 - 44×27 + 48×6 + 30×1 + 16×1 = 0
854 - 1,188 + 288 + 30 + 16 = 0

The second multiplier there is 4 times 2n - 3. For its three closest siblings, the ones that start 1, 2, 1, 1 and 1, 0, 1, 1 and 1, 0, 1, 0, the same spot has 2 times 2n - 3. That is the doubled first entry showing up in the shortcut.

How the proof goes

The whole list, packed into one object A, satisfies

A^2 = A - (2x - 3x^2 - 3x^3 - 4x^4)

From there the route is the one described in the first problem of the night: take the rate of change of that equation, combine it with the equation so A^2 cancels, and read the result one slot at a time.

Fast growth made no difference to the proof. The published list reaches 567 trillion by its 26th entry. The proof works with a handful of small numbers and never touches the big ones.

What I took from it

Anything that feeds on its own output is extremely sensitive to where it starts. A small edge at the beginning is not a small edge by step sixteen.

That is not a deep observation, but I notice how often it gets ignored. Teams argue about improvements in the middle of a process and wave through sloppy inputs at the front. In a system that compounds, the front is where the numbers are decided.

The numbers

The first accepted proof was 5,074 characters. Ours is 674, about 7.5 times shorter, accepted as pull request 63477. It is the shortest proof on the problem page as of November 29, 2026.

Proof length: 5,074 characters for the first accepted proof, 674 for mine

Someone else proved it first. Mine is a shorter proof of the same statement.

Get the next build note.

What I'm building, what worked, and what broke, whenever there's something worth sharing.

Subscribe to my newsletter

Keep up with the work.

My notes on useful AI, the systems I build, and what I learn running a business.