login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A158354
a(n) is the smallest number whose name in UK English contains n vowels.
3
2, 1, 11, 14, 71, 102, 101, 111, 114, 171, 1071, 1101, 1111, 1114, 1171, 11171, 14171, 71171, 101114, 101171, 111171, 114171, 171171, 1101114, 1101171, 1111171, 1114171, 1171171, 11171171, 14171171, 71171171, 101114171, 101171171, 111171171, 114171171, 171171171
OFFSET
1,1
COMMENTS
In UK English, "102" is written as "one hundred and two".
twO has 1 vowel, OnE has 2, ElEvEn has 3, fOUrtEEn has 4, sEvEntY OnE has 5, OnE hUndrEd And twO has 6, OnE hUndrEd And OnE has 7, OnE hUndrEd And ElEvEn has 8.
LINKS
PROG
(Python)
from num2words import num2words
from itertools import count, islice
def vowels(n): return sum(1 for c in num2words(n) if c in "aeiouy")
def agen():
n, adict = 1, dict()
for k in count(1):
v = vowels(k)
if v not in adict: adict[v] = k
while n in adict: yield adict[n]; n += 1
print(list(islice(agen(), 23))) # Michael S. Branicky, Aug 09 2022
CROSSREFS
Sequence in context: A088587 A305711 A158352 * A055459 A080958 A138351
KEYWORD
nonn,word
AUTHOR
Rodolfo Kurchan, Mar 16 2009
EXTENSIONS
Edited by Jon E. Schoenfield, Oct 06 2018
a(10) and beyond from Michael S. Branicky, Aug 09 2022
STATUS
approved