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!)
A087876 a[n] =PrimePi[PrimePi[n-2]] + a[n - a[n-2]] 0
1, 1, 1, 1, 2, 3, 4, 4, 4, 5, 6, 6, 7, 7, 7, 7, 8, 9, 10, 10, 10, 10, 11, 11, 11, 11, 11, 12, 13, 13, 13, 14, 15, 15, 15, 15, 15, 16, 16, 16, 16, 16, 17, 18, 18, 18, 19, 19, 19, 19, 20, 21, 21, 21, 21, 21, 21, 21, 22, 22, 23, 23, 23, 23, 23, 24, 25, 25, 26, 26, 26, 26, 27, 27, 27 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,5
COMMENTS
A PrimePi reinversion based on Mallows A005229 as the pattern sequence.
LINKS
MATHEMATICA
mrid[n_Integer?Positive] := mrid[n] =PrimePi[PrimePi[n-2]] + mrid[n - mrid[n-2]] mrid[1] = mrid[2] = 1 digits=256 a=Table[mrid[n], {n, 1, digits}]
CROSSREFS
Cf. A005229.
Sequence in context: A167991 A173073 A073425 * A006158 A340203 A135414
KEYWORD
nonn
AUTHOR
Roger L. Bagula, Oct 11 2003
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 25 16:23 EDT 2024. Contains 371989 sequences. (Running on oeis4.)