STAY CURIOUS, HUMANS

The scroll · Fact № 17 · History & Firsts

HISTORY & FIRSTSFact № 17

The First Published Computer Program Was Written for a Computer That Never Existed

In 1843, Ada Lovelace wrote out a step-by-step recipe for a machine to crunch a thorny string of numbers — the Bernoulli numbers.

The machine was Charles Babbage's Analytical Engine: a computer of gears and punched cards, designed entirely on paper.

It was never built. Only a small piece of it ever existed.

Her notes ran three times longer than the article she was supposed to just translate.

That recipe is now called the first published computer program. Babbage had quietly drafted a few of his own years earlier — but hers was the one the world got to read, about a hundred years before working computers.

Source: Encyclopaedia Britannica ✓ Check it · Checked Nov 5, 2026