OFFSET
1,1
COMMENTS
American spelling is used, all spaces and hyphens are ignored. - Sean A. Irvine, Jan 28 2026
EXAMPLE
a(1) = eighT, a(2) = twenTy, a(3) = Two, a(4) = thirTeen, a(5) = Three, etc.
PROG
(Python)
from num2words import num2words
from itertools import count, islice
def n2w(n): return "".join(c for c in num2words(n).replace(" and", "") if c.isalpha())
def agen(): # generator of terms
n, adict = 1, dict()
for k in count(0):
s = n2w(k)
tlocs = [len(s)-i for i in range(len(s)) if s[i]=='t']
for v in tlocs:
if v not in adict:
adict[v] = k
while n in adict: yield adict[n]; n += 1
print(list(islice(agen(), 43))) # Michael S. Branicky, Jan 28 2026
CROSSREFS
KEYWORD
nonn,word
AUTHOR
Claudio Meller, Feb 12 2010
EXTENSIONS
More terms from Sean A. Irvine, Jan 28 2026
STATUS
approved
