OFFSET
1,2
COMMENTS
See A362031 for further details.
PROG
(Python) # uses imports and generator in A362031
def agen():
yield from (n for n, an in enumerate(A362031gen(), 1) if an == 1)
print(list(islice(agen(), 20))) # Michael S. Branicky, Apr 06 2023
(Python)
from itertools import count, islice
from sympy import primeomega
def A362033_gen(): # generator of terms
a, b, c = {}, {}, 1
for n in count(1):
if c == 1: yield n
d = b[c] = b.get(c, primeomega(c))
c = a[d] = a.get(d, 0)+1
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Scott R. Shannon, Apr 06 2023
EXTENSIONS
a(20)-a(28) from Michael S. Branicky, Apr 06 2023
a(29)-a(31) from Chai Wah Wu, Apr 06 2023
a(32) from Chai Wah Wu, Apr 08 2023
STATUS
approved