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

A364445
Complement of A364444.
2
1, 4, 6, 9, 12, 13, 17, 19, 21, 25, 26, 28, 32, 33, 35, 37, 39, 41, 43, 45, 46, 50, 52, 53, 56, 59, 60, 63, 64, 66, 68, 70, 72, 74, 77, 79, 80, 82, 84, 86, 88, 90, 92, 93, 96, 98, 99, 102, 105, 106, 108, 112, 113, 116, 118, 119, 120, 123, 124, 127, 129, 132, 133
OFFSET
1,2
COMMENTS
Compared to A364444, this sequence is what A363762 is to A077773.
PROG
(Python)
from itertools import count, islice
def A364445_gen(): # generator of terms
a = 0
for n in count(1):
b = sum(1 for k in range(n**2+1, (n+1)**2) if (m:=(~k&k-1).bit_length())&1 or (k>>m)&7<7)
yield from range(a+1, b)
a = b
A364445_list = list(islice(A364445_gen(), 20)) # Chai Wah Wu, Aug 01 2023
CROSSREFS
KEYWORD
nonn
AUTHOR
Hugo Pfoertner, Aug 01 2023
STATUS
approved