OFFSET
1,2
COMMENTS
PROG
(Python)
A000225 = lambda n: (1 << n) - 1
def isA320441(k):
# Code after Michael S. Branicky, Mar 24 2022 in A320434.
tt, l = 1, k.bit_length()
for x in range(0, l + 1):
m = A000225(x)
t = k & m
if (t != tt):
if (t == k): return False
r = k
for g in range(0, x):
r >>= 1
if (r & m == t) and (r == t): return True
tt = t
print([n for n in range(1, 80) if not isA320441(n)])
CROSSREFS
KEYWORD
nonn,base
AUTHOR
DarĂo Clavijo, Oct 02 2023
STATUS
approved