OFFSET
1,2
LINKS
Nick Hobson, Table of n, a(n) for n=1..10000
Nick Hobson, Python program for this sequence
FORMULA
The height of a term in A064389 = number of addition steps - number of subtraction steps to produce it.
CROSSREFS
KEYWORD
nonn
AUTHOR
Reiner Martin, Jan 08 2003
STATUS
approved