Hobbyist runs a “first program” to compute Bernoulli numbers — a small triumph for retrocomputing

April 13, 2026
Detailed close-up of a vintage computer keyboard featuring colored keys and retro design.
Photo by William Warby on Pexels

The run

It has been reported that a Lobsters link pointed readers to a blog post on EnigmaticCode documenting the rerun of what the author calls a “first program” for computing Bernoulli numbers. The write-up mixes history, math, and retrocomputing: an old algorithm dusted off, assembled (literally or figuratively), and executed again on modern hardware or an emulated machine. There’s a quiet thrill in that sentence — like hearing your grandfather’s engine cough to life after years in the garage.

The math and the machine

Bernoulli numbers aren’t just math trivia; they sit at the crossroads of number theory and numerical analysis, popping up in series expansions and the Euler–Maclaurin formula. The post allegedly reproduces an early approach to generating these numbers, and then shows the output — the plain, irresistible proof that the code works. For readers who love both the elegance of an old algorithm and the tactile satisfaction of a successful run, this is catnip. How often do you get to see theory and history converge in a single console window?

Community and context

This is part nostalgia, part preservation. Retrocomputing communities have been increasingly active: restoring hardware, publishing scans of manuals, and re-running seminal programs to check how algorithms behaved on real, constrained machines. The EnigmaticCode post is a reminder that code is cultural heritage. It’s not just about nostalgia; it’s about understanding how constraints shaped ideas that persist in modern software.

Why it matters

Running a decades-old program today is a small act with a big payoff — it connects us to the thought processes of early practitioners and reminds us why certain techniques stuck around. It’s one thing to read an old paper; it’s another to hear the machine answer back. If you’ve ever wondered why groups like the Computer History Museum or hobbyist forums keep turning these cogs, this is it: the past still runs, and it still has lessons to teach.

Sources: enigmaticcode.wordpress.com, Lobsters