[go: up one dir, main page]

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”).

A348442
Records in A088178.
3
1, 2, 4, 6, 10, 12, 15, 20, 24, 28, 32, 40, 42, 45, 48, 60, 70, 72, 78, 84, 98, 104, 108, 110, 120, 132, 143, 144, 147, 152, 160, 168, 189, 190, 198, 204, 209, 228, 234, 240, 256, 272, 280, 300, 304, 306, 323, 342, 360, 364, 378, 392, 420, 425, 450, 456, 460, 475, 500, 504, 506, 525, 550, 552, 575
OFFSET
1,2
PROG
(Python)
from itertools import islice
def A348442(): # generator of terms
yield 1
c, p, a = 1, {1}, 1
while True:
n, na = 1, a
while na in p:
n += 1
na += a
p.add(na)
a = n
if c < na:
c = na
yield c
A348442_list = list(islice(A348442(), 100)) # Chai Wah Wu, Oct 21 2021
CROSSREFS
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Oct 21 2021
STATUS
approved