Finding Linear-Recurrent Solutions to Hofstadter-Like Recurrences Using Symbolic Computation
Nathan Fox

TL;DR
This paper develops a symbolic algorithm to identify linear-recurrent solutions to Hofstadter-like recurrences, revealing numerous infinite families of such sequences with predictable behaviors.
Contribution
The authors introduce a step-by-step symbolic method to find linear-recurrent solutions to complex recurrences, uncovering hundreds of infinite families.
Findings
Identified numerous infinite families of sequences with linear-recurrent behavior.
Developed an automatable symbolic algorithm for analyzing recurrences.
Discovered hundreds of easily describable families based on the Hofstadter Q-recurrence.
Abstract
The Hofstadter Q-sequence, with its simple definition, has defied all attempts at analyzing its behavior. Defined by a simple nested recurrence and an initial condition, the sequence looks approximately linear, though with a lot of noise. But, nobody even knows whether the sequence is infinite. In the years since Hofstadter published his sequence, various people have found variants with predictable behavior. Oftentimes, the resulting sequence looks complicated but provably grows linearly. Other times, the sequences are eventually linear recurrent. Proofs describing the behaviors of both types of sequence are inductive. In the first case, the inductive hypotheses are fairly ad-hoc, but the proofs in the second case are highly automatable. This suggests that a search for more sequences like these may be fruitful. In this paper, we develop a step-by-step symbolic algorithm to search for…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
Topicssemigroups and automata theory · Logic, programming, and type systems · Formal Methods in Verification
