The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A167480 a(n)= primepi(n) if n is prime, otherwise a(n)=prime(n). 4
2, 1, 2, 7, 3, 13, 4, 19, 23, 29, 5, 37, 6, 43, 47, 53, 7, 61, 8, 71, 73, 79, 9, 89, 97, 101, 103, 107, 10, 113, 11, 131, 137, 139, 149, 151, 12, 163, 167, 173, 13, 181, 14, 193, 197, 199, 15, 223, 227, 229, 233, 239, 16, 251, 257, 263, 269, 271, 17, 281, 18, 293, 307 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
MATHEMATICA
Table[If[PrimeQ[n], PrimePi[n], Prime[n]], {n, 1, 200}]
CROSSREFS
Cf. A068519 a(n)=n if n is prime otherwise a(n)=prime(n), A175027 a(n)=n if n is nonprime otherwise a(n)=primepi(n).
Sequence in context: A278710 A011241 A261879 * A241738 A021051 A113246
KEYWORD
nonn
AUTHOR
Zak Seidov, Nov 04 2009
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 15 04:00 EDT 2024. Contains 372536 sequences. (Running on oeis4.)