OFFSET
1,1
COMMENTS
Sequence is its own inverse permutation.
EXAMPLE
The run of nonsquarefree integers (27,28) becomes (28,27). And the run of squarefree integers (29,30,31) becomes (31,30,29).
PROG
(PARI) {m=73; n=1; while(n<=m, k=n; while(issquarefree(n), n++); forstep(a=n-1, k, -1, print1(a, ", ")); k=n; while(!issquarefree(n), n++); forstep(a=n-1, k, -1, print1(a, ", ")))} \\ Klaus Brockhaus, Aug 16 2006
CROSSREFS
KEYWORD
nonn
AUTHOR
Leroy Quet, Jul 23 2006
EXTENSIONS
More terms from Klaus Brockhaus, Aug 16 2006
STATUS
approved