

A362033


The indices where A362031(n) = 1.


2



1, 2, 4, 9, 17, 37, 88, 185, 387, 783, 1611, 3354, 6959, 14469, 29983, 62386, 127992, 256022, 513110, 1029534, 2069248, 4161860, 8380507, 16880924, 34031112, 68622510, 138439065, 279365954, 563874347, 1138322112, 2298288343, 4640647720
(list;
graph;
refs;
listen;
history;
text;
internal format)



OFFSET

1,2


COMMENTS



LINKS



PROG

(Python) # uses imports and generator in A362031
def agen():
yield from (n for n, an in enumerate(A362031gen(), 1) if an == 1)
(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



EXTENSIONS



STATUS

approved



