OFFSET
1,3
COMMENTS
Needs an estimate for the asymptotic growth rate.
LINKS
N. J. A. Sloane, Table of n, a(n) for n = 1..25000
PROG
(Python)
def A348781(n):
k, s, c = 0, 0, dict()
while True:
m, r = 0, 1
while r > 0:
k += 1
if k > n:
return s
r = c.get(m, 0)
s += r
c[r] = c.get(r, 0)+1
m += 1 # Chai Wah Wu, Nov 13 2021
CROSSREFS
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Nov 13 2021
STATUS
approved