OFFSET
0,1
COMMENTS
This sequence gives the number of characters, including spaces and hyphens, in the French spelling of the numbers; e.g., a(21) = 11 = #"vingt et un", a(22) = 10 = #"vingt-deux". - M. F. Hasler, Nov 18 2009
See A167507 for a variant where only letters are counted, but spaces and hyphens are not counted. - M. F. Hasler, Jun 03 2012
See A052360 for the English version (and A005589 for the letters-only variant); A007208 for the German version. - M. F. Hasler, Sep 20 2014
This refers to the official French spelling, Swiss or Belgian variants ("septante", ...) are not considered here. - M. F. Hasler, Sep 21 2014
REFERENCES
N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).
LINKS
M. F. Hasler, Table of n, a(n) for n = 0..1000
Wiktionnaire, Annexe:Nombres de 1 à 100 en français. [From M. F. Hasler, Nov 18 2009]
EXAMPLE
a(0) = 4 = #"zéro"
a(80) = 13 = #"quatre-vingts"
a(999) = 31 = #"neuf cent quatre-vingt-dix-neuf"
a(1000) = 5 = # "mille"
PROG
(PARI) A007005(n)=#French(n) /* cf. A167507 for PARI code of "French()" - M. F. Hasler, Jun 03 2012 */
CROSSREFS
KEYWORD
nonn,word,easy,nice
AUTHOR
EXTENSIONS
a(71) and a(74) corrected by M. F. Hasler, Jun 03 2012
Example completed by Rémy Sigrist, Sep 09 2018
STATUS
approved