arXiv:2608.29411cs.LGAug 2026

Manuscript Offprint

arXiv:2608.29411

Where Induction Runs Out: Description-Length Difficulty and the Memorisation Gap in Integer-Sequence Benchmarks

Sabilashan Ganeshan

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Integer sequences from the On-Line Encyclopedia of Integer Sequences (OEIS) are increasingly used to benchmark mathematical reasoning in language models. We ask what such benchmarks actually measure, using an exactly computable reference learner: two-part minimum description length (MDL) over the class of P-recursive (holonomic) recurrences, evaluated on every prefix of a sequence as terms arrive.

Three findings follow. First, MDL difficulty is a parameter count. The discovery point ndn_{d}, the first prefix length at which a symbolic hypothesis beats verbatim storage, is predicted almost exactly by a combinatorial identifiability bound on the selected operator's order and degree. It is invariant to term magnitude: scaling Fibonacci over twelve orders of magnitude leaves ndn_{d} unchanged, because a hypothesis must encode its own initial conditions and the magnitude cancels.

Second, at scale the learner exhibits a regime our curated corpus could not produce even once: across 20,000 OEIS sequences, 89.98% of those that fit a recurrence on some prefix fit none at full length. We call this the wilderness—induction acquires a theory, loses it, and never recovers.

Third, evaluating three language models on sequences stratified by these MDL regimes refuted our pre-registered hypothesis: models do not confabulate where MDL reports no theory, but hedge appropriately. Confident errors are inverted, concentrating on the easy stratum, where apparent competence tracks recognition of the sequence rather than induction of its rule. OEIS-derived benchmarks therefore substantially measure memorisation, and MDL supplies a cheap, contamination-free difficulty signal they currently lack. Code, data and all model responses are released at https://github.com/sabilashang/where-induction-runs-out.

1 Introduction

Integer sequences are an appealing test of mathematical reasoning: the input is short, the answer is checkable, and the OEIS [15] supplies hundreds of thousands of them for free. They have become a standard benchmark for language models [4, 16]. A benchmark is only as good as its difficulty measure, yet it is not obvious what makes one sequence harder than another—growth rate, mathematical depth, or the number of terms needed before the rule is pinned down.

This paper answers that question with an exactly computable reference learner, then uses the answer to audit what the benchmark measures. The learner is two-part MDL [10, 18] over holonomic recurrences, applied to every prefix of a sequence as terms arrive one at a time. We choose the class because its MDL hypothesis is exactly computable by linear algebra over Q (no search heuristic confounds the measurement), and because it is the natural symbolic class for integer sequences [11, 23, 26].

A natural picture of what such a learner does is dynamic. Given 1, 2, 4, 16 it entertains an=na_n = n, is refuted, moves to an=2na_n = 2n, is refuted, tries an=2na_n = 2^n, and perhaps ends up bolting a piecewise branch onto a formula that no longer fits as a whole. This picture of induction as successive revision underlies formal learning theory’s notion of mind changes [1, 7, 9] and Schmidhuber’s account of interestingness as the derivative of compressibility [21]. Yet the modern literature reports only endpoints: whether the final expression is right [4], or how short the final program is [8]. We measure the trajectory, defining the revision spectrum R(n)=L(n+1)−L(n)R(n) = L(n+1) - L(n) and two exact landmarks, the discovery point and the stabilisation point.

Our findings, in order:

  1. Revision is rare on classical sequences, common at scale ( §4§4). Only 2/61 classical sequences ever revise, because MDL is self-regularising: an overfitted recurrence costs more bits than the data it explains and is never selected. At

OEIS scale the rate rises to 315/2,780 (11.3%), and is length-dependent.

  1. Difficulty is a parameter count (§5). The discovery point is predicted by the identifiability bound nid=(r+1)(d+1)+s+rn_{\mathrm{id}} = (r+1)(d+1) + s + r, a combinatorial function of the selected operator's order and degree alone—exactly in 89% of a labelled classical corpus and within ±1\pm 1 in 100%, against mean absolute error (MAE) 3.20 for a compression-based predictor.

  2. Growth is irrelevant (§6). A controlled scaling experiment over twelve orders of magnitude leaves ndn_{d} exactly unchanged, because magnitude inflates the hypothesis and the literal code at the same rate and cancels.

  3. The wilderness (§8). 89.98% of sequences that fit some prefix fit nothing at full length—a regime our classical corpus could not produce once. Structural revisions, when they occur, are almost always single events rather than cascades.

  4. Benchmarks measure memorisation (§9). Evaluating three language models on MDL-stratified sequences refutes our pre-registered hypothesis and yields a stronger one: confident errors concentrate on the easy stratum, where apparent competence turns out to be OEIS recognition rather than induction.

We regard the last of these as the practical contribution. MDL difficulty is cheap to compute, independent of term magnitude, and (unlike accuracy on a public dataset) cannot be inflated by memorisation.