OFFSET
1,3
EXAMPLE
The positive integers which are <= 9 and are missing from the first 8 terms of the sequence are 3,5,6,7,8,9. The sum of these integers is 38, so a(9) is the number of earlier terms which divide 38. Therefore a(9) = 6.
MATHEMATICA
a = {1}; Do[AppendTo[a, Length[Select[a, Mod[(Plus @@ Complement[Range[n], a]), # ] == 0 &]]], {n, 2, 80}]; a (* Stefan Steinerberger, Dec 26 2007 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Leroy Quet, May 31 2007
EXTENSIONS
More terms from Stefan Steinerberger, Dec 26 2007
STATUS
approved