OFFSET
1,2
LINKS
Chai Wah Wu, Table of n, a(n) for n = 1..3000
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
CROSSREFS
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Oct 21 2021
STATUS
approved