login
A169639
Write n in French (cf. A167507) and sum the letters using a=1, ..., z=26.
9
64, 35, 54, 81, 82, 43, 52, 60, 58, 46, 37, 60, 71, 83, 123, 92, 64, 97, 95, 83, 72, 132, 126, 153, 154, 115, 124, 132, 130, 118, 82, 142, 136, 163, 164, 125, 134, 142, 140, 128, 97, 157, 151, 178, 179, 140, 149, 157, 155, 143, 104, 164, 158, 185, 186, 147, 156, 164
OFFSET
0,1
COMMENTS
Accents are ignored. - Chai Wah Wu, Jun 11 2021
EXAMPLE
From Omar E. Pol, Jun 15 2021: (Start)
-----------------------------------------------------
n Name Calculation a(n)
-----------------------------------------------------
0 Zero 26 + 5 + 18 + 15 = 64
1 Un 21 + 14 = 35
2 Deux 4 + 5 + 21 + 24 = 54
3 Trois 20 + 18 + 15 + 9 + 19 = 81
4 Quatre 17 + 21 + 1 + 20 + 18 + 5 = 82
5 Cinq 3 + 9 + 14 + 17 = 43
6 Six 19 + 9 + 24 = 52
7 Sept 19 + 5 + 16 + 20 = 60
8 Huit 8 + 21 + 9 + 20 = 58
9 Neuf 14 + 5 + 21 + 6 = 46
10 Dix 4 + 9 + 24 = 37
11 Onze 15 + 14 + 26 + 5 = 60
12 Douze 4 + 15 + 21 + 26 + 5 = 71
... (End)
PROG
(Python)
from num2words import num2words
from unidecode import unidecode
def A169639(n): return sum(ord(s)-96 for s in unidecode(num2words(n, lang='fr')) if s.isalpha()) # Chai Wah Wu, Jun 11 2021
(PARI) A169639(n)=vecsum([t%32|t<-Vecsmall(French(n)), t>64]) \\ Cf. A167507 for French(). - M. F. Hasler, Apr 08 2023
CROSSREFS
Cf. A167507, A169641 ("limit points").
For other languages see A073327 (U.S. English), A119945 (German), A161406 (Spanish).
Sequence in context: A095390 A033384 A073327 * A252486 A382946 A188828
KEYWORD
nonn,look,word
AUTHOR
Jacques ALARDET, Apr 04 2010
EXTENSIONS
Edited by N. J. A. Sloane, Apr 05 2010
Offset corrected by Mohammed Yaseen, Jun 11 2021
STATUS
approved