In case you missed it: https://www-cs-faculty.stanford.edu/~knuth/papers/claude-cycles.pdf

Anyone knows of a good farming 101 tutorial?

@civodul very surprising that the program worked for general m. I am used to people saying that these problems are easy for LLMs to solve for fixed or bounded m, but that they don't generalize well. But the methodology here was very different from those and arguably closer to how I would approach the problem.
@civodul (by "these problems" I mean telling the AI to write a program that solves some discrete math problem)