OFFSET
1,1
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
MATHEMATICA
NestList[Complement[Range[#+10], Divisors[#]][[3]]+#&, 4, 60] (* Harvey P. Dale, Aug 28 2023 *)
PROG
(PARI) third(n) = {my(nb = 0, k = 1); while (nb != 3, if (n % k, nb++); if (nb != 3, k++); ); k; }
f(n) = n + third(n);
lista4(nn) = {a = 4; print1(a, ", "); for (n=2, nn, newa = f(a); print1(newa, ", "); a = f(a); ); } \\ Michel Marcus, Oct 04 2018
CROSSREFS
KEYWORD
nonn
AUTHOR
Jacques Tramu, Jun 25 2008
EXTENSIONS
More terms from Michel Marcus, Oct 04 2018
STATUS
approved