[seqfan] Re: possible relation in A005132 Recaman's sequence

David Wilson dwilson at gambitcomm.com
Wed Jun 3 18:14:39 CEST 2009

Obligatory contribution to the thread:

If you look at the graph of the Recaman numbers, it is composed of 
visual arcs. You can define a Recaman arc function as follows:

RecamanArc(n) =
	0, if n = 0
	RecamanArc(n-1)+1 if Recaman(n) > Recaman(n-1)
	RecamanArc(n-1)-1 if Recaman(n) < Recaman(n-1)

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

More information about the SeqFan mailing list