OFFSET
0,4
FORMULA
a(n)=n if n is nonprime otherwise a(n)=primepi(n).
MATHEMATICA
Table[If[PrimeQ[n], PrimePi[n], n], {n, 0, 200}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Zak Seidov, Nov 04 2009
STATUS
approved