OFFSET
0,2
COMMENTS
LINKS
Harvey P. Dale, Table of n, a(n) for n = 0..1000
MATHEMATICA
Module[{nn=80, pr, np}, pr=Prime[Range[PrimePi[nn]]]; np=Complement[ Range[ 0, nn], pr]; Table[If[PrimeQ[n], Position[pr, n], Position[np, n]], {n, 0, nn}]]//Flatten (* Harvey P. Dale, Sep 10 2022 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Juri-Stepan Gerasimov, Aug 17 2008
EXTENSIONS
Edited by R. J. Mathar, Aug 19 2008
STATUS
approved