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!)
A175027 Replace prime with its index! 5
0, 1, 1, 2, 4, 3, 6, 4, 8, 9, 10, 5, 12, 6, 14, 15, 16, 7, 18, 8, 20, 21, 22, 9, 24, 25, 26, 27, 28, 10, 30, 11, 32, 33, 34, 35, 36, 12, 38, 39, 40, 13, 42, 14, 44, 45, 46, 15, 48, 49, 50, 51, 52, 16, 54, 55, 56, 57, 58, 17, 60, 18, 62, 63, 64, 65, 66, 19, 68, 69, 70, 20, 72, 21 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,4
LINKS
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
Cf. A068519.
Sequence in context: A015049 A057956 A151734 * A269837 A308982 A182298
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 April 24 13:49 EDT 2024. Contains 371958 sequences. (Running on oeis4.)