A decades-old bug in Knuth's long division

18 points by nk_kolja 8 hours ago on lobsters | 1 comment

[OP] nk_kolja | 8 hours ago

Given the Knuth moratorium on bug reports, I wanted to share my result from the beginning of the year when I found an error in Knuth's long division algorithm. In addition to the Knuth check, he also attributed the correctness theorem of long division to me. I guess I was lucky to have found it in time.

With the advance of AI it was inevitable for Knuth to end (or pause) the bounty program. Though it might be for the better, as it will discourage "grinding checks" (people were doing that even before AI, by searching for punctuation errors and typos just to receive a check). Mid 2026 I tried explicitly asking AI (Fable) to find this division algorithm error to see how it would fare and it could not find it - so don't be discouraged if you think you found an inconsistency.