|
|
|
|
0, 1, 2, 2, 4, 6, 8, 8, 11, 13, 17, 18, 19, 19, 23, 27, 31, 32, 36, 36, 41, 46, 50, 51, 57, 59, 60, 60, 66, 73, 78, 79, 85, 88, 91, 92, 92, 99, 108, 113, 116, 122, 126, 130, 132, 132, 140, 149, 155, 159, 168, 172, 177, 179, 180, 183, 183, 192, 202, 209, 214, 224, 230, 236, 239, 240, 244, 246, 246
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,3
|
|
COMMENTS
|
Needs an estimate for the asymptotic growth rate.
|
|
LINKS
|
|
|
PROG
|
(Python)
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
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|