OFFSET
1,2
LINKS
Michael S. Branicky, Table of n, a(n) for n = 1..10000
PROG
(Python)
def ok(n):
s = str(n)
if s[0] in "02345679": return True
while len(s) > 3: s = s[:-3]
return int(s) in {10, 12, 13, 14, 15, 16, 17, 19}
print([k for k in range(71) if ok(k)]) # Michael S. Branicky, Nov 27 2022
CROSSREFS
KEYWORD
nonn,word
AUTHOR
Tanya Khovanova, Dec 08 2006
EXTENSIONS
a(1) = 0 inserted and a(39) and beyond from Michael S. Branicky, Nov 27 2022
STATUS
approved