%I #13 Feb 24 2022 11:34:02
%S 15,5,15,5,18,5,24,14,20,5,14,14,5,14,14,14,14,14,14,14,25,5,15,5,18,
%T 5,24,14,20,5,25,5,15,5,18,5,24,14,20,5,25,5,15,5,18,5,24,14,20,5,25,
%U 5,15,5,18,5,24,14,20,5,25,5,15,5,18,5,24,14,20,5,25,5,15,5,18,5,24,14,20,5
%N English spelling of n ends with a(n)-th letter of the alphabet.
%H Tanar Ulric, <a href="/A114332/b114332.txt">Table of n, a(n) for n = 0..10000</a>
%H B. Deal, <a href="http://puzblog2.notlong.com">Blaine's Puzzle Blog</a>.
%H Chuck Gaydos, <a href="http://seqpost2.notlong.com">Sequence puzzle posting at Clifford Pickover forum</a>.
%e 'One' ends with 'e', which is the 5th letter of the alphabet, hence a(1)=5.
%e 'Two' ends with 'o', which is the 15th letter of the alphabet, hence a(2)=15.
%o (Python)
%o def a(n):
%o if n == 0: return 15 # zerO
%o if n%1000000 == 0: return 14 # millioN, billioN, ...
%o r = n%100
%o if r == 0: return 4 # hundreD, thousanD
%o if r == 12: return 5 # twelvE
%o if 10 <= r < 20: return 14 # teN, eleveN, thirteeN, ..., nineteeN
%o return [25, 5, 15, 5, 18, 5, 24, 14, 20, 5][n%10] # *Y, *onE, ..., *ninE
%o print([a(n) for n in range(101)]) # _Michael S. Branicky_, Jan 19 2022
%Y Cf. A005606, A052360, A005589.
%K easy,nonn,word
%O 0,1
%A Blaine J. Deal, Feb 06 2006
%E a(0)=15 prepended by _Tanar Ulric_, Jan 20 2022