OFFSET
1,2
LINKS
Michael De Vlieger, Table of n, a(n) for n = 1..42
Jason Earls, Smarandache iterations of the first kind on functions involving divisors and prime factors, in Smarandache Notions Journal (2004), Vol. 14.1, page 261.
MATHEMATICA
With[{s = Array[Length@ NestWhileList[Function[n, Max@ Differences@ # - SelectFirst[Reverse@ #, PrimeQ] &@ Divisors[n]], #, # > 0 &] &, 10^5]}, Array[FirstPosition[s, #][[1]] &, Max@ s - 1, 2]] (* Michael De Vlieger, Mar 28 2018 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Jason Earls, Sep 23 2002
EXTENSIONS
a(28)-a(38) from Michael De Vlieger, Mar 28 2018
STATUS
approved