OFFSET
1,2
COMMENTS
First 48 terms were computed by Robert G. Wilson v, Dec 31 2013: see Comments in A228407.
LINKS
Chai Wah Wu, Table of n, a(n) for n = 1..10000 (terms 1..514 from N. J. A. Sloane)
PROG
(Python)
from itertools import islice
from collections import Counter
def A377925_gen(): # generator of terms
yield from (0, 11)
l, s, b, c = Counter('11'), 1, {11}, 11
while True:
i = s
while True:
if i not in b:
li, o = Counter(str(i)), 0
for d in (l+li).values():
if d % 2:
if o > 0:
break
o += 1
else:
if i>c:
yield (c:=i)
l = li
b.add(i)
while s in b:
b.remove(s)
s += 1
break
i += 1
CROSSREFS
KEYWORD
nonn,base
AUTHOR
N. J. A. Sloane, Dec 14 2024
STATUS
approved