[seqfan] Re: Interesting discovery by Dan Preston concerning a Recaman-like sequence

Neil Sloane njasloane at gmail.com
Mon Mar 18 17:16:18 CET 2019


> It looks like that can also land you on a number that has been
landed on before - am I correct to assume that's fine, we just accept the
repeat and continue in that case?

Yes, that is correct!
Best regards
Neil

Neil J. A. Sloane, President, OEIS Foundation.
11 South Adelaide Avenue, Highland Park, NJ 08904, USA.
Also Visiting Scientist, Math. Dept., Rutgers University, Piscataway, NJ.
Phone: 732 828 6098; home page: http://NeilSloane.com
Email: njasloane at gmail.com



On Mon, Mar 18, 2019 at 8:07 AM <hv at crypt.org> wrote:

> Just to clarify the definition of A228474, it states "... if the number
> landed on has been landed on before, move a distance of k away from zero
> instead". It looks like that can also land you on a number that has been
> landed on before - am I correct to assume that's fine, we just accept the
> repeat and continue in that case?
>
> I have some ideas about for algorithms to cope with the difficult cases,
> which I'm just starting to implement.
>
> Hugo
>
> --
> Seqfan Mailing list - http://list.seqfan.eu/
>



More information about the SeqFan mailing list