OFFSET
0,3
COMMENTS
Length of n-th run appears to be A103627(n + 2) for n > 1. - Peter Kagey, Apr 25 2016
LINKS
Peter Kagey, Table of n, a(n) for n = 0..10000
FORMULA
For all m>=1, a(k) = m if m^2 <= k <= m^2 +m-1, a(m^2 +m) = m+1, a(k) = m if m^2 +m+1 <= k <= m^2 +2m.
EXAMPLE
The largest value among terms a(0) through a(14) is 4. So a(15) = floor(15/4) = 3.
MATHEMATICA
a = {1}; Do[AppendTo[a, Floor[n/Max@ a]], {n, 2, 120}]; {1}~Join~a (* Michael De Vlieger, Apr 25 2016 *)
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Leroy Quet, Feb 09 2008
STATUS
approved