OFFSET
1,1
LINKS
Michael S. Branicky, Table of n, a(n) for n = 1..10000
EXAMPLE
In the spelling of the name of each term, with spaces and hyphens omitted, each name has an odd number of letters, and the middle letter is "y"; e.g.,
23 = twentYthree,
27 = twentYseven,
28 = twentYeight,
etc.
PROG
(Python)
from num2words import num2words
def n2w(n): return "".join(c for c in num2words(n).replace(" and", "") if c.isalpha())
def ok(n): return len(w:=n2w(n))&1 and w[len(w)>>1] == "y"
print([k for k in range(13*10**4) if ok(k)]) # Michael S. Branicky, May 20 2026
CROSSREFS
KEYWORD
nonn,word
AUTHOR
Claudio Meller, May 26 2009
EXTENSIONS
Name clarified and a(22) onward from Michael S. Branicky, May 20 2026
STATUS
approved
