OFFSET
1,9
COMMENTS
a(n) >= 2 for n >= 9. (See Theorem 1.1. in Alkan, Booker & Luca.)
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.
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
KEYWORD
nonn,look
AUTHOR
Seiichi Manyama, Jun 17 2020
STATUS
approved