login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A331498 Position of the first letter of n (in French) in the alphabet. 0

%I #13 Feb 27 2020 22:50:23

%S 26,21,4,20,17,3,19,19,8,14,4,15,4,20,17,17,19,4,4,4,22,22,22,22,22,

%T 22,22,22,22,22,20,20,20,20,20,20,20,20,20,20,17,17,17,17,17,17,17,17,

%U 17,17,3,3,3,3,3,3,3,3,3,3,19,19,19,19,19,19,19,19,19,19

%N Position of the first letter of n (in French) in the alphabet.

%H Le conjugueur, <a href="https://leconjugueur.lefigaro.fr/uklesnombresecrits.php">Most used numbers (from Le Figaro)</a>

%e 'Un' (French for 'one') begins with 'U', the twenty-first letter of the alphabet, hence a(1)=21.

%t a[n_] := LetterNumber @ Characters[IntegerName[n, "French"]][[1]]; Array[a, 100, 0] (* _Amiram Eldar_, Jan 18 2020 *)

%o (Python)

%o from num2words import num2words

%o import unidecode

%o def A311498(n):

%o return ord(unidecode.unidecode(num2words(n, lang='fr')).lower()[0]) - 96 # _Chai Wah Wu_, Feb 27 2020

%Y Cf. A005606.

%K nonn,word

%O 0,1

%A _J. Marcel Feenstra_, Jan 18 2020

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 25 23:59 EDT 2024. Contains 371989 sequences. (Running on oeis4.)