login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A348780
Partial sums of A347113.
2
1, 5, 15, 37, 83, 177, 182, 184, 190, 204, 207, 215, 227, 253, 262, 277, 295, 333, 346, 353, 369, 403, 423, 447, 477, 539, 560, 571, 598, 630, 666, 740, 765, 793, 851, 969, 986, 1019, 1059, 1141, 1307, 1641, 1676, 1715, 1757, 1843, 1872, 1916, 1964, 2020, 2039, 2084, 2107, 2157, 2211, 2271, 2393
OFFSET
1,2
COMMENTS
Needs an estimate for the asymptotic growth rate.
LINKS
PROG
(Python)
from math import gcd
def A348780(n):
j, nset, m, s = 2, {1}, 2, 1
for _ in range(n-1):
k = m
while k == j or gcd(k, j) == 1 or k in nset:
k += 1
j = k+1
s += k
nset.add(k)
while m in nset:
m += 1
return s # Chai Wah Wu, Nov 13 2021
CROSSREFS
Cf. A347113.
Sequence in context: A146797 A213487 A005491 * A142964 A050488 A188282
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Nov 13 2021
STATUS
approved