OFFSET
1,4
LINKS
FORMULA
MATHEMATICA
PrimePi@ FactorInteger[#][[-1, 1]] & /@ Nest[Append[#, Block[{k = 3}, While[Or[MemberQ[#, k], GCD[#[[-1]], k] == 1], k++]; k]] &, {1, 2}, 103] (* Michael De Vlieger, May 22 2018 *)
PROG
CROSSREFS
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Oct 18 2001
EXTENSIONS
Offset corrected to 1, terms a(42) .. a(46) [that were terms a(41) .. a(45)] also corrected, more terms and alternative description added by Antti Karttunen, May 18 2018
STATUS
approved