|
|
A331482
|
|
Position of the first letter of n (in Dutch) in the alphabet.
|
|
1
|
|
|
14, 5, 20, 4, 22, 22, 26, 26, 1, 14, 20, 5, 20, 4, 22, 22, 26, 26, 1, 14, 20, 5, 20, 4, 22, 22, 26, 26, 1, 14, 4, 5, 20, 4, 22, 22, 26, 26, 1, 14, 22, 5, 20, 4, 22, 22, 26, 26, 1, 14, 22, 5, 20, 4, 22, 22, 26, 26, 1, 14, 26, 5, 20, 4, 22, 22, 26, 26, 1, 14, 26
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,1
|
|
LINKS
|
|
|
EXAMPLE
|
'Een' (Dutch for 'one') begins with 'E', the fifth letter of the alphabet, hence a(1)=5.
|
|
MATHEMATICA
|
a[n_] := LetterNumber @ Characters[IntegerName[n, {"Dutch", "Ordinal"}]][[1]]; Array[a, 100, 0] (* Amiram Eldar, Jan 18 2020 *)
|
|
PROG
|
(Python)
from num2words import num2words
import unidecode
return ord(unidecode.unidecode(num2words(n, lang='nl')).lower()[0]) - 96 # Chai Wah Wu, Feb 27 2020
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,word
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|