login
A005606
Position of first letter of n (in English) in alphabet.
(Formerly M4958)
9
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,1
COMMENTS
English name for n begins with a(n)-th letter.
REFERENCES
N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).
LINKS
Chris Cole, Email to N. J. A. Sloane, Apr 23 1994 (contains many letter sequences, including the letter equivalent of A005606).
EXAMPLE
'One' begins with 'O' and 'O' is the fifteenth letter hence a(1)=15.
MATHEMATICA
Table[LetterNumber[Characters[IntegerName[n, "Words"]][[1]]], {n, 0, 80}] (* Harvey P. Dale, Jun 06 2016 *)
PROG
(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
CROSSREFS
Sequence in context: A033969 A078547 A036168 * A304138 A305044 A064267
KEYWORD
word,nonn,nice,easy
EXTENSIONS
More terms from Larry Reeves (larryr(AT)acm.org), Oct 02 2000
STATUS
approved