OFFSET
1,1
LINKS
Rémy Sigrist, Table of n, a(n) for n = 1..2297
Rémy Sigrist, C program for A284890
FORMULA
a(n+1) = a(n) + A055396(a(n)) for any n>1.
EXAMPLE
a(9) = 24 = prime(1)^3*prime(2), hence a(10) = 24+1 = 25.
a(14) = 41 = prime(13), hence a(15) = 41+13 = 54.
MATHEMATICA
NestList[#+PrimePi[FactorInteger[#][[1, 1]]]&, 2, 60] (* Harvey P. Dale, May 08 2022 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Rémy Sigrist, Apr 05 2017
STATUS
approved