By Hamza Faisal
Donald Knuth, the 88-year-old author of The Art of Computer Programming, has spent six decades writing his books by hand. At Stanford this week, he told a hall how one changed his mind: it solved a problem that had stumped him for weeks, then buried him in reports.
Knuth was giving his 30th annual Christmas Lecture at Stanford's NVIDIA Auditorium on Thursday, titled "Claude and The Art of Computer Programming". It was, he said, a stock-take of what language models have done to his life's work.
A problem that fit on three lines
The story began in February, as Knuth prepared a fascicle on directed Hamiltonian paths and cycles. The problem fits on three lines: take a three-dimensional grid with m³ vertices, and split all 3m³ edges into three directed Hamiltonian cycles of length m³, for every m greater than two.
For m = 2, Jacques Aubert and Bernadette Schneider had proved in 1982 that no such split exists. Knuth built one by hand for m = 3, and his friend Filip Stappers confirmed by computer search that solutions exist up to m = 16. But a general formula eluded Knuth for several weeks.
Stappers gave the same definition to Anthropic's Claude Opus 4.6, asking it to log each trial. In its fifteenth step, it sliced the digraph diagonally, across planes of constant sum. In its thirty-first attempt, after about an hour, it printed a short Python program. Stappers tested it for every odd m from 3 to 101 — and all three cycles closed without a hitch.
Knuth opened his short paper on the result, "Claude's Cycles", with two words: "Shock! Shock!" He then proved the construction for all odd m greater than two. Kim Morrison has since verified the proof in Lean; other researchers closed the even-m cases.
Three hundred bug reports in a day
From about May, the trickle of error reports for his books turned into a flood. Knuth has long paid $2.56 for every error a reader finds in his books. Now, he told the audience, emails arrive carrying 17 errors, then 91, then more than 200 at a time — and on some days, as many as 300 bug reports land at once.
He has had to suspend the bounty, he said, so he can do anything but fix errors in his own past work. November, he added, was a month spent trying — futilely — to keep up. He now spends much of his time fixing mistakes AI-assisted readers keep finding — and said he only wished humans had found them earlier.
The reports now also answer the "future research" questions at the ends of his chapters, unprompted. Knuth has added a "BREAKING NEWS" section to his website, filled with automated answers to problems he had only begun to ask. At one point, he said an agent had found a deeper error in one of his proofs — and suggested the fix.
From sceptic to collaborator
In 2022, Knuth showed the audience a printout of a dressing-down he had given Stephen Wolfram, after Wolfram sent him a GPT-generated MMIX program to debug. Like most people, he said, he felt the world shifting under his feet in December 2025.
He is not done, either: he has yet to start volumes five, six and seven of The Art of Computer Programming, a project he began in 1962. Whether he finishes them may now depend on how much time the machines leave him. The recording went private after the livestream; Stanford will post it publicly later in the year.



