OFFSET
1,2
LINKS
Ivan Neretin, Table of n, a(n) for n = 1..10000
EXAMPLE
The sum of the first 7 terms of this sequence is 1+2+3+5+7+10+13 = 41. So the arithmetic average of the first 7 terms is 41/7. The terms of this sequence that are <= 41/7 (= 5 +6/7) are 1,2,3,5. There are therefore 4 such terms <= 41/7. So a(8) = a(7) + 4 = 13 + 4 = 17.
MATHEMATICA
cnt = Function[a, Length@Select[a, # <= Total[a]/Length[a] &]]; Nest[Append[#, #[[-1]] + cnt[#]] &, {1}, 56] (* Ivan Neretin, May 21 2018*)
CROSSREFS
KEYWORD
nonn
AUTHOR
Leroy Quet, Mar 31 2008
EXTENSIONS
More terms from Sean A. Irvine, May 03 2010
STATUS
approved