OFFSET
1,2
EXAMPLE
The sum of the first 7 terms of this sequence is 1+2+3+5+7+9+12 = 39. So the arithmetic average of the first 7 terms is 39/7. The terms of this sequence, from among the first 7 terms, that are >= 39/7 (= 5 +4/7) are 7, 9, 12. There are therefore =3 such terms >= 39/7. So a(8) = a(7) + 3 = 12 + 3 = 15.
MATHEMATICA
a = {1}; Do[AppendTo[a, a[[ -1]] + Length[Select[a, Length[a]# + 1 > Plus @@ a &]]], {60}]; a (* Stefan Steinerberger, Apr 09 2008 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Leroy Quet, Apr 05 2008
EXTENSIONS
More terms from Stefan Steinerberger, Apr 09 2008
STATUS
approved