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”).
%I #14 Aug 09 2022 09:05:28
%S 2,1,11,14,71,102,101,111,114,171,1071,1101,1111,1114,1171,11171,
%T 14171,71171,101114,101171,111171,114171,171171,1101114,1101171,
%U 1111171,1114171,1171171,11171171,14171171,71171171,101114171,101171171,111171171,114171171,171171171
%N a(n) is the smallest number whose name in UK English contains n vowels.
%C In UK English, "102" is written as "one hundred and two".
%C 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.
%H Wiktionary, <a href="https://en.wiktionary.org/wiki/one_hundred_one">one hundred one</a> (US)
%H Wiktionary, <a href="https://en.wiktionary.org/wiki/one_hundred_and_one">one hundred and one</a> (UK)
%o (Python)
%o from num2words import num2words
%o from itertools import count, islice
%o def vowels(n): return sum(1 for c in num2words(n) if c in "aeiouy")
%o def agen():
%o n, adict = 1, dict()
%o for k in count(1):
%o v = vowels(k)
%o if v not in adict: adict[v] = k
%o while n in adict: yield adict[n]; n += 1
%o print(list(islice(agen(), 23))) # _Michael S. Branicky_, Aug 09 2022
%K nonn,word
%O 1,1
%A _Rodolfo Kurchan_, Mar 16 2009
%E Edited by _Jon E. Schoenfield_, Oct 06 2018
%E a(10) and beyond from _Michael S. Branicky_, Aug 09 2022