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!)
A335660 a(n) = n - A334714(n). 2
0, 0, 0, 1, 1, 1, 1, 1, 2, 3, 3, 3, 2, 2, 2, 3, 3, 3, 2, 2, 2, 3, 3, 3, 3, 3, 4, 5, 5, 5, 4, 3, 3, 3, 4, 5, 5, 5, 5, 5, 4, 4, 3, 2, 2, 3, 3, 3, 3, 3, 4, 5, 5, 5, 5, 5, 5, 5, 5, 5, 4, 3, 3, 3, 4, 5, 5, 5, 5, 5, 4, 4, 3, 2, 2, 3, 4, 5, 5, 5, 5, 5, 4, 4, 4, 4, 4, 5, 5, 5, 5, 5, 5, 5, 6, 7 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,9
COMMENTS
a(n) >= 2 for n >= 9. (See Theorem 1.1. in Alkan, Booker & Luca.)
LINKS
Altug Alkan, Andrew R. Booker, and Florian Luca, On a recursively defined sequence involving the prime counting function, arXiv:2006.08013 [math.NT], 2020.
FORMULA
a(n) = n - Sum_{k=1..n} A335294(n).
MATHEMATICA
f[1] = 1; f[n_] := f[n] = PrimePi[n] - PrimePi[Sum[f[k], {k, 1, n - 1}]]; m = 100 ; Range[m] - Accumulate @ Array[f, m] (* Amiram Eldar, May 03 2021 *)
CROSSREFS
Sequence in context: A031283 A293229 A185437 * A210681 A366544 A096520
KEYWORD
nonn,look
AUTHOR
Seiichi Manyama, Jun 17 2020
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 18 22:18 EDT 2024. Contains 371782 sequences. (Running on oeis4.)