[seqfan] Re: Is this permutation of the positive integers achievable?

Peter Munn techsubs at pearceneptune.co.uk
Tue Jul 19 13:21:37 CEST 2022


On Mon, July 18, 2022 2:45 am, Ali Sada via SeqFan wrote:
> Hi everyone,
> a(n) is the least positive integer not occurring earlier in the sequence
> such that, if a(m) = a(n)+1, then |m - n| = a(n).
> We start with a(1) = 1, then a(2) = 2. We move ahead and get a(4) = 3, and
> a(7) = 4. Now we go back to a(3) = 5 and that forces a(8) to be 6, etc.
>

Hi Ami (and hi seqfans),

I think you might be trying to create something like the inverse of the
sequence envisaged in the second comment in A078943?

Best regards

Peter




More information about the SeqFan mailing list