login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A230501 Floor(Sum(d(k), k=1..n)/n), where d(k) is the number of divisors of k. 2
1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 4, 3, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,4
COMMENTS
Except for n=0, a(n) = floor(A006218(n)/n).
LINKS
MATHEMATICA
Table[Floor[Sum[DivisorSigma[0, k], {k, n}]/n], {n, 100}] (* T. D. Noe, Oct 22 2013 *)
PROG
(Python)
from math import isqrt
def A230501(n): return (-(s:=isqrt(n))**2+(sum(n//k for k in range(1, s+1))<<1))//n # Chai Wah Wu, Oct 23 2023
CROSSREFS
Sequence in context: A076925 A100961 A263206 * A287272 A300287 A226764
KEYWORD
nonn
AUTHOR
Jon Perry, Oct 21 2013
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 24 22:17 EDT 2024. Contains 371964 sequences. (Running on oeis4.)