OFFSET
1,2
LINKS
Michael De Vlieger, Table of n, a(n) for n = 1..10000
EXAMPLE
The sum of the first 7 terms of the sequence is 48. There are 5 terms from among the first 7 terms which divide 48. (Those terms are a(1)=1, a(2)=2, a(3)=3, a(4)=6, a(6)=12.) So a(8) = a(7) + 5 = 19.
MATHEMATICA
a = {1}, c = 1, Do[AppendTo[a, a[[-1]] + Count[a, _?(Mod[c, #] == 0 &)]]; c += Last[a], {i, 60}]; a (* Michael De Vlieger, Nov 14 2021 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Leroy Quet, Jun 24 2007
EXTENSIONS
Corrected and extended by Joshua Zucker, Jul 18 2007
STATUS
approved