OFFSET
1,2
EXAMPLE
a(9) = 23 = prime(9).
MATHEMATICA
Join[{1}, Module[{nn=100, cmps}, cmps=Select[Range[2nn], CompositeQ]; Table[ If[ PrimeQ[n], cmps[[n]], Prime[n]], {n, 2, nn}]]] (* Harvey P. Dale, May 22 2021 *)
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Amarnath Murthy, Oct 16 2003
EXTENSIONS
More terms from Ray Chandler, Oct 18 2003
STATUS
approved