OFFSET
1,2
COMMENTS
In UK English, "1001" is written as "one thousand and one".
oNe = 1, TWo = 2, THRee = 3, TWeLVe = 4, THiRTeeN = 5, TWeNTyTWo = 6, TWeNTyTHRee = 7, 300 = THRee HuNDReD = 8, oNe THouSaND aND oNe = 9, oNe THouSaND aND TWo = 10, oNe THouSaND aND THRee = 11, oNe THouSaND aND TWeLVe = 12.
LINKS
PROG
(Python)
from num2words import num2words
from itertools import count, islice
def c(n): return sum(1 for c in num2words(n) if c in "bcdfghjklmnpqrstvwxz")
def agen():
n, adict = 1, dict()
for k in count(1):
v = c(k)
if v == n: yield k; n += 1
print(list(islice(agen(), 39))) # Michael S. Branicky, Aug 09 2022
CROSSREFS
KEYWORD
nonn,word
AUTHOR
Rodolfo Kurchan, Mar 08 2009
EXTENSIONS
Edited by Jon E. Schoenfield, Oct 06 2018
a(16) and beyond from Michael S. Branicky, Aug 09 2022
STATUS
approved