OFFSET
1,4
COMMENTS
This sequence tends to infinity as n tends to infinity.
This sequence is similar to A282630; here we consider the greatest prime factor of a number, there we consider its least prime factor.
LINKS
Rémy Sigrist, Table of n, a(n) for n = 1..10000
Rémy Sigrist, Illustration of the first terms
PROG
(PARI) a = vector(100); for (n=1, #a, if (n>1, my (f=factor(n)); a[n] = 1 + a[n - primepi(f[#f~, 1])]); print1 (a[n] ", "))
CROSSREFS
KEYWORD
nonn
AUTHOR
Rémy Sigrist, Apr 10 2017
STATUS
approved