OFFSET
1,2
COMMENTS
It seems that a(n) is asymptotic to C*BesselI(0,2*sqrt(n)) where C is a constant C = 0.78... and BesselI(b,x) is the modified Bessel function of the first kind. Can someone prove this?
Numerically, a(n) ~ c * exp(2*sqrt(n)) / n^(1/4), where c = 0.2214496835182522607818590241239262909281832289078... It follows that the constant above is equal to C = 0.78501868866746800511978860290796656518270697588... - Vaclav Kotesovec, Oct 12 2024
LINKS
FORMULA
a(1) = 1, a(n+1) = a(n) + ceiling((a(1) + a(2) + ... + a(n))/n).
EXAMPLE
a(5) = a(4) + ceiling((a(1)+a(2)+a(3)+a(4))/4) = 7 + ceiling((1+2+4+7)/4) = 7 + floor(14/4) = 7 + 4 = 11.
MAPLE
a[1] := 1: summe := 0: flip := 1: for j from 1 to 100 do: print (j, a[flip]); summe := summe + a[flip]: a[1-flip] := a[flip] + ceil(summe/j): flip := 1-flip: od:
MATHEMATICA
a[1] = 1; a[n_] := a[n] = a[n - 1] + Ceiling[ Sum[ a[i], {i, 1, n - 1} ]/(n - 1) ]; Table[ a[ n], {n, 1, 45} ]
Nest[Append[#, Last[#]+Ceiling[Mean[#]]]&, {1}, 44] (* James C. McMahon, Oct 10 2024 *)
PROG
(PARI) { for (n=1, 1000, if (n==1, s=0; a=1, s+=a; a+=ceil(s/(n - 1))); write("b065095.txt", n, " ", a) ) } \\ Harry J. Smith, Oct 06 2009
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Ulrich Schimke (ulrschimke(AT)aol.com)
STATUS
approved