cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A037196 Number of vowels in the American English name of n.

This page as a plain text file.
%I A037196 #24 Jul 08 2025 22:04:28
%S A037196 2,2,1,2,2,2,1,2,2,2,1,3,2,3,4,3,3,4,4,4,1,3,2,3,3,3,2,3,3,3,1,3,2,3,
%T A037196 3,3,2,3,3,3,1,3,2,3,3,3,2,3,3,3,1,3,2,3,3,3,2,3,3,3,1,3,2,3,3,3,2,3,
%U A037196 3,3,2,4,3,4,4,4,3,4,4,4,2,4,3,4,4,4,3,4,4,4,2,4,3,4,4,4,3,4,4,4,4,6,5,6,6
%N A037196 Number of vowels in the American English name of n.
%C A037196 "American English" means that there is no "and" in the names of numbers, cf. example. - _M. F. Hasler_, Aug 26 2020
%e A037196 a(20) = 1 for "twEnty" with 1 vowel: 'y' does not count.
%e A037196 a(101) = 6 for "OnE hUndrEd OnE" with 6 vowels: no "and" as in the "British" variant "one hundred and one" which would have 7 vowels.
%o A037196 (PARI) vowels=Vec("aeiou"); apply( {A037196(n)=#[c|c<-Vec(English(n)),setsearch(vowels,c)]}, [0..104]) \\ see A052360 for English(). - _M. F. Hasler_, Aug 26 2020
%o A037196 (Python)
%o A037196 from num2words import num2words
%o A037196 def a(n): return sum(1 for c in num2words(n).replace(" and", "") if c in "aeiou")
%o A037196 print([a(n) for n in range(105)]) # _Michael S. Branicky_, Mar 23 2025
%Y A037196 Cf. A005589, A052360 (number of letters in English name of numbers with/without spaces and dashes).
%Y A037196 Sequences related to vowels: A102869, A158352, A158354 (smallest number with n [distinct] vowels in AE / BE), A158353, A158355 (ditto, increasing), A058179 (all 5 vowels), A058180 (ditto, exactly once), A000852, A000861 (start/end with vowel), A019270, A080518 (self-describing), A059437, A079741, A152592, A174879, A241858, A332068, A332069.
%K A037196 nonn,word,easy
%O A037196 0,1
%A A037196 _N. J. A. Sloane_
%E A037196 More terms from Larry Reeves (larryr(AT)acm.org), Sep 25 2000
%E A037196 Name edited and crossrefs added by _M. F. Hasler_, Aug 26 2020
%E A037196 a(19)=4 corrected by _Sean A. Irvine_, Dec 16 2020