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!)
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 (list; graph; refs; listen; history; text; internal format)
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

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 May 4 18:21 EDT 2024. Contains 372257 sequences. (Running on oeis4.)