OFFSET
0,1
LINKS
Le conjugueur, Most used numbers (from Le Figaro)
EXAMPLE
'Un' (French for 'one') begins with 'U', the twenty-first letter of the alphabet, hence a(1)=21.
MATHEMATICA
a[n_] := LetterNumber @ Characters[IntegerName[n, "French"]][[1]]; Array[a, 100, 0] (* Amiram Eldar, Jan 18 2020 *)
PROG
(Python)
from num2words import num2words
import unidecode
def A331498(n):
return ord(unidecode.unidecode(num2words(n, lang='fr')).lower()[0]) - 96 # Chai Wah Wu, Feb 27 2020
CROSSREFS
KEYWORD
nonn,word
AUTHOR
J. Marcel Feenstra, Jan 18 2020
STATUS
approved