The height (A064289) of a term in Recamán's sequence (A005132) = number of addition steps - number of subtraction steps to produce it.
Table of n, a(n) for n=1..18.
Danny Rorabaugh, All terms of height n<=18 in Recamán's sequence
Index entries for sequences related to Recamán's sequence
Cf. A064289, A064290, A064293.
Sequence in context: A308260 A279212 A299018 * A275312 A209026 A091764
Adjacent sequences: A269827 A269828 A269829 * A269831 A269832 A269833
Danny Rorabaugh, Mar 05 2016