OFFSET
1,2
LINKS
Seiichi Manyama, Table of n, a(n) for n = 1..10000
Altug Alkan, Andrew R. Booker, and Florian Luca, On a recursively defined sequence involving the prime counting function, arXiv:2006.08013 [math.NT], 2020.
MATHEMATICA
f[1] = 1; f[n_] := f[n] = PrimePi[n] - PrimePi[Sum[f[k], {k, 1, n - 1}]]; Accumulate @ Array[f, 100] (* Amiram Eldar, May 03 2021 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Jun 16 2020
STATUS
approved