[seqfan] T is T terms away from P

Eric Angelini Eric.Angelini at kntv.be
Tue Apr 3 15:10:18 CEST 2012

Hello SeqFans,
1. Pick any term of S and call it T
2. Look for the closest prime P > T
... T is T terms away from P.

S = 0,2,9,8,7,18,1,16,3,14,33,12,11,30,255,28,27,4,25,24,121,22,21,20,19,56,55,54,*,

S is a permutation of Z and the stars * stand for integers > 500 which I'm unable
to find. I think S is the lexico-first such seq. (which was a nightmare to conceive
and compute: I need a ton of easter-egg chocolate, now).

More information about the SeqFan mailing list