[seqfan] Re: Subtracting or adding n to a(n-1)

David Wilson dwilson at gambitcomm.com
Thu Apr 30 19:35:21 CEST 2009

Another interesting project:

Look at the graph of Recaman. There are clear visual "arcs".

Let r = Recaman. I am guessing you could define an arc sequence as follows:

a(n) =
0, if n = 0
a(n-1)+1 if r(n) = r(n-1)+n <=> r(n) > r(n-1)
a(n-1)-1 if r(n) = r(n-1)-n <=> r(n) < r(n-1)

Then a(n) tells you which Recaman arc r(n) lies on.

It might be interesting to explore the arc properties, their starts and 
ends and maxima, etc.

More information about the SeqFan mailing list