OFFSET
1,2
EXAMPLE
Let R(n) = n-th term of Recamán's sequence (A005132). R(111)..R(115) are 40, 152, 265, 379, 494; so R(115)=494 is the result of four consecutive addition steps, and is the first such R(n). Thus a(4) = 494.
CROSSREFS
KEYWORD
nonn
AUTHOR
Benjamin Chaffin, Feb 09 2026
STATUS
approved
