OFFSET
0,2
COMMENTS
A permutation of the natural numbers.
LINKS
Harvey P. Dale, Table of n, a(n) for n = 0..1000
MATHEMATICA
Module[{nn=10, prs, cmps, len}, prs=Prime[Range[(nn(nn+1))/2]]; cmps= Select[ Range[ Max[ prs]], CompositeQ]; Join[{1}, Riffle[ TakeList[prs, Range[nn]], TakeList[ cmps, Range[ nn]]]]]// Flatten (* Harvey P. Dale, Apr 29 2022 *)
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Amarnath Murthy, Oct 31 2002
STATUS
approved