Recamán's sequence at high altitude

Recamán's sequence starts at 0, and its nth step subtracts n if the result is non-negative and new, and adds n otherwise. The only published upper bound on its growth appears to be the trivial a(n) ≤ n(n+1)/2. We show that, far above the values it has visited, the sequence follows a rule with no arithmetic in it: a ±1 walk steps up exactly when some earlier stretch of it has a prescribed mean. This reduces the growth question to a game on ±1 walks. A one-page argument then gives limsup a(n)/n² ≤ 3/26, and a small verified search gives 1/14. We then study the game itself. If its reach rate is positive, optimal plays converge to stationary walks that obey the rule at every step, with no opponent. Every inequality W ≤ cD, where W counts the up-steps of a ±1 word that satisfy the rule's condition and D counts its down-steps, gives limsup a(n)/n² ≤ (c−1)/(2c+2). We prove it for c = 2. The case c = 1, which we state as a conjecture, would give a(n) = o(n²), and we show that this is equivalent to subtractions having frequency 1/2. We also describe the natural approaches to the conjecture that fail, with the words that refute them. The bounds on the sequence, the reduction to the game and the consequences of W ≤ cD are formalized in Lean 4, in about 1200 lines. The archive contains the paper (paper/recaman.pdf, CC BY 4.0), the Lean formalization and the checking programs (Apache-2.0).

Authors

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-11-26
DOI
https://doi.org/10.5281/zenodo.24554139
Primary Topic
Analytic Number Theory Research
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

Recamán's sequence at high altitude

Clément Chardine
Zenodo (CERN European Organization for Nuclear Research)
Analytic Number Theory Research
preprint

Recamán's sequence at high altitude

Clément Chardine
preprint en

Abstract

Recamán's sequence starts at 0, and its nth step subtracts n if the result is non-negative and new, and adds n otherwise. The only published upper bound on its growth appears to be the trivial a(n) ≤ n(n+1)/2. We show that, far above the values it has visited, the sequence follows a rule with no arithmetic in it: a ±1 walk steps up exactly when some earlier stretch of it has a prescribed mean. This reduces the growth question to a game on ±1 walks. A one-page argument then gives limsup a(n)/n² ≤ 3/26, and a small verified search gives 1/14. We then study the game itself. If its reach rate is positive, optimal plays converge to stationary walks that obey the rule at every step, with no opponent. Every inequality W ≤ cD, where W counts the up-steps of a ±1 word that satisfy the rule's condition and D counts its down-steps, gives limsup a(n)/n² ≤ (c−1)/(2c+2). We prove it for c = 2. The case c = 1, which we state as a conjecture, would give a(n) = o(n²), and we show that this is equivalent to subtractions having frequency 1/2. We also describe the natural approaches to the conjecture that fail, with the words that refute them. The bounds on the sequence, the reduction to the game and the consequences of W ≤ cD are formalized in Lean 4, in about 1200 lines. The archive contains the paper (paper/recaman.pdf, CC BY 4.0), the Lean formalization and the checking programs (Apache-2.0).

Zenodo (CERN European Organization for Nuclear Research)
Analytic Number Theory Research
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon