A005606 Position of first letter of n (in English) in alphabet.
26, 15, 20, 20, 6, 6, 19, 19, 5, 14, 20, 5, 20, 20, 6, 6, 19, 19, 5, 14, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19
Offset: 0
Examples
'One' begins with 'O' and 'O' is the fifteenth letter hence a(1)=15.
References
- N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).
Links
- Harvey P. Dale, Table of n, a(n) for n = 0..1000
- Chris Cole, Email to N. J. A. Sloane, Apr 23 1994 (contains many letter sequences, including the letter equivalent of A005606).
Programs
-
Mathematica
Table[LetterNumber[Characters[IntegerName[n,"Words"]][[1]]],{n,0,80}] (* Harvey P. Dale, Jun 06 2016 *)
-
Python
from num2words import num2words def a(n): return ord(num2words(n)[0]) - 96 print([a(n) for n in range(78)]) # Michael S. Branicky, Jul 12 2022
Extensions
More terms from Larry Reeves (larryr(AT)acm.org), Oct 02 2000
Comments