OFFSET
0,2
EXAMPLE
a(8) + 9 = 11 + 9 = 20. 20 = 2^2 *5, so the largest squarefree divisor of 20 is 2*5 = 10. a(9) is therefore 10.
MATHEMATICA
a[n_] := If[Max[Table[FactorInteger[n][[i, 2]], {i, 1, Length[FactorInteger[n]]}]] > 1, 0, 1]; b = {1}; Do[AppendTo[b, Select[Divisors[j + b[[ -1]]], a[ # ] == 1 &][[ -1]]], {j, 1, 100}]; b (* Stefan Steinerberger, Dec 19 2007 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Leroy Quet, Nov 21 2007
EXTENSIONS
More terms from Stefan Steinerberger, Dec 19 2007
STATUS
approved