The first three subtractions are negative or return the already-seen zero, so addition is used. The fourth subtraction gives a new positive two; the next subtraction is negative. Thus . These are the initial terms of Recamán's sequence.[ref]
OEIS entry A005132. Initial terms, offset zero
Articles by others on the same topic
There are currently no matching articles.