|
|
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
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
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
|
|
|
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
|
|
CROSSREFS
|
|
|
KEYWORD
|
word,nonn,nice,easy
|
|
AUTHOR
|
|
|
EXTENSIONS
|
More terms from Larry Reeves (larryr(AT)acm.org), Oct 02 2000
|
|
STATUS
|
approved
|
|
|
|