OFFSET
1,2
COMMENTS
a(n) is average (rounded up) of middle divisor(s) of n.
MATHEMATICA
Do[l = Divisors[n]; k = Length[l]; If[EvenQ[k], m = (l[[k/2]] + l[[k/2 + 1]])/2, m = l[[(k+1)/2]]]; Print[Ceiling[m]], {n, 1, 100}] (* Ryan Propper, Sep 17 2005 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Leroy Quet, May 21 2005
EXTENSIONS
More terms from Ryan Propper, Sep 17 2005
STATUS
approved