OFFSET
1,2
EXAMPLE
The largest divisor of 9 which occurs among the first 8 terms of the sequence is 3. So a(9) = 9 + 3 = 12.
MATHEMATICA
f[l_List] := Block[{n = Length[l] + 1}, Append[l, n + Max[Select[l, Mod[n, # ] == 0 &]]]]; Nest[f, {1}, 100] (* Ray Chandler, Sep 30 2006 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Leroy Quet, Sep 27 2006
EXTENSIONS
Extended by Ray Chandler, Sep 30 2006
STATUS
approved