The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A347307 Records in A347113. 7
1, 4, 10, 22, 46, 94, 118, 166, 334, 358, 718, 1438, 2878, 5758, 8158, 8254, 9838, 19678, 22558, 43198, 56638, 103198, 169438, 184798, 190558, 193918, 274558, 315358, 318238, 357598, 419038, 439678, 486238, 698398, 858238, 1716478, 1723198, 1965118, 2029438, 4058878 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
PROG
(Python)
from math import gcd
A347307_list, nset, m, c, j = [1], {1}, 2, 0, 2
for _ in range(10**4):
k = m
while k == j or gcd(k, j) == 1 or k in nset:
k += 1
if k > c:
c = k
A347307_list.append(k)
j = k + 1
nset.add(k)
while m in nset:
m += 1 # Chai Wah Wu, Sep 01 2021
CROSSREFS
Sequence in context: A038621 A078407 A347113 * A265054 A099018 A033484
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Sep 01 2021
EXTENSIONS
a(23)-a(40) from Alois P. Heinz, Sep 01 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 23 18:34 EDT 2024. Contains 372765 sequences. (Running on oeis4.)