OFFSET
1,2
EXAMPLE
a(9) = 16 = composite(9) as 9 is composite.
MATHEMATICA
Join[{1}, With[{comps=Select[Range[4, 100], !PrimeQ[#]&]}, Rest[Table[ If[ PrimeQ[n], Prime[n], comps[[n]]], {n, 70}]]]] (* Harvey P. Dale, Nov 03 2013 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Amarnath Murthy, Oct 16 2003
EXTENSIONS
More terms from Anne Donovan (anned3005(AT)aol.com), Oct 17 2003
STATUS
approved