OFFSET
1,1
COMMENTS
The numbers of the consecutive positive integers over blocks of the partition are 2,1,2,1,2,1,1,2,2,1,3,2,2,1,1,2,1,...
LINKS
Peter J. C. Moses, Table of n, a(n) for n = 1..1000
PROG
(Python)
from itertools import count
def evil(n): return bin(n)[2:].count('1') % 2 == 0
def aupton(terms):
alst, t = [], 0
for k in count(1):
t = int(str(t) + str(k))
if evil(t):
alst.append(t)
t = 0
if len(alst) >= terms: return alst
print(aupton(45)) # Michael S. Branicky, Dec 03 2021
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Vladimir Shevelev, Oct 03 2014
EXTENSIONS
More terms from Peter J. C. Moses, Oct 04 2014
STATUS
approved