OFFSET
1,1
COMMENTS
By numerical explorations up to 50k terms, it seems to be an "infinite braid", i.e. it consists of a single infinite cycle, without any fixed points or closed cycles.
LINKS
Ferenc Adorjan, Table of n,a(n) for n=1..10000
PROG
(PARI) {pperm(n)= /* Returns a vector with n terms of the sequence */
local(m, q, v, x, j, ap); j=n+prime(n+6)-prime(n); v=vector(j); x=vector(n);
for(i=1, j, v[i]=i); for(i=1, j, ap=prime(i+1)-prime(i)-1; q=v[i]; v[i]=v[i-ap]; v[i-ap]=q);
for(i=1, n, x[i]=v[i]); return(x)}
CROSSREFS
KEYWORD
nonn
AUTHOR
Ferenc Adorjan (fadorjan(AT)freemail.hu or ferencadorjan(AT)gmail.com), Mar 24 2007
STATUS
approved