OFFSET
1,1
LINKS
Eric Weisstein. Recamán's Sequence.
EXAMPLE
E.g., 109 is the third term of this sequence because it the first step in Recamán's sequence at which there are three consecutive subtraction steps in a row:
109. 370 - 109 = 261
110. 261 - 110 = 151
111. 151 - 111 = 40
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Sergio Pimentel, Jul 25 2005
EXTENSIONS
a(6)-a(7) from Jud McCranie, Jan 24 2020
STATUS
approved