[seqfan] Re: A formula for a permutation

M. F. Hasler seqfan at hasler.fr
Tue Feb 9 15:56:06 CET 2016


Eric,
what a nice & so simple idea, almost surprising it's not yet there!
(The 26 should be 28.)
Proposed as https://oeis.org/draft/A268630

- Maximilian

On Mon, Feb 8, 2016 at 7:42 PM, Eric Angelini <Eric.Angelini at kntv.be> wrote:

> We would like to find a seq X that,
> in the same "spirit", would be a
> permutation of the integers >=0
>
> What about:
>
> a(1)=0; extend X with the smallest
> integer a(n) not yet used such that
> a(n-1)^2+a(n) is prime.
>
> X=0,2,1,4,3,8,7,10,9,16,13,12,5,6,11,18,
> 23,26,...
>
> I think we have it.
> Best,
> É.
> <http://list.seqfan.eu/>



More information about the SeqFan mailing list