[seqfan] Re: The Bad Neighbors Sequence
Ruud H.G. van Tol
rvtol at isolution.nl
Tue Jun 18 20:41:39 CEST 2024
On 2024-06-16 00:11, Ali Sada via SeqFan wrote:
> [...]
> I would really appreciate some help with the definition and the terms.
Usables for the definition:
1. a has offset 1;
2. L starts out as the list of positive integers;
3. at the n-th iteration, a(n) is set to L(1);
4. then L(1) is moved to its new position in L, in between the first two
elements that it has never before been next to;
5. repeat at step 3.
-- Ruud
More information about the SeqFan
mailing list