OFFSET
1,2
REFERENCES
C. Kimberling, "Fractal Sequences and Interspersions", Ars Combinatoria, vol. 45 p 157 1997.
LINKS
T. D. Noe, Table of n, a(n) for n=1..1000
C. Kimberling, Interspersions
PROG
(PARI) lista(nn) = {v = vector(nn^2, k, kij = k+nn-1; i = 1+(kij % nn); j = kij\nn; i+j*Pi); vs = vecsort(v, , 1); for (k=1, #vs, print1(curi = 1+((vs[k]+nn-1) % nn), ", "); if (curi == nn, break)); } \\ Michel Marcus, Apr 10 2015
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved