%I M0942 #50 Jul 10 2024 20:06:21
%S 4,2,4,5,6,4,3,4,4,4,3,4,5,6,8,6,5,8,8,8,5,11,10,11,12,10,9,10,10,10,
%T 6,12,11,12,13,11,10,11,11,11,8,14,13,14,15,13,12,13,13,13,9,15,14,15,
%U 16,14,13,14,14,14,8,14,13,14,15,13,12,13,13,13,12,16,14,15,17,15,14
%N Number of characters in the French spelling of n, including spaces and hyphens.
%C 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
%C See A167507 for a variant where only letters are counted, but spaces and hyphens are not counted. - _M. F. Hasler_, Jun 03 2012
%C See A052360 for the English version (and A005589 for the letters-only variant); A007208 for the German version. - _M. F. Hasler_, Sep 20 2014
%C This refers to the official French spelling, Swiss or Belgian variants ("septante", ...) are not considered here. - _M. F. Hasler_, Sep 21 2014
%D N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).
%H M. F. Hasler, <a href="/A007005/b007005.txt">Table of n, a(n) for n = 0..1000</a>
%H Wiktionnaire, <a href="http://fr.wiktionary.org/wiki/Annexe:Nombres_de_1_%C3%A0_100_en_fran%C3%A7ais">Annexe:Nombres de 1 à 100 en français</a>. [From _M. F. Hasler_, Nov 18 2009]
%H <a href="/index/Lc#letters">Index entries for sequences related to number of letters in n</a>
%e a(0) = 4 = #"zéro"
%e a(80) = 13 = #"quatre-vingts"
%e a(999) = 31 = #"neuf cent quatre-vingt-dix-neuf"
%e a(1000) = 5 = # "mille"
%o (PARI) A007005(n)=#French(n) /* cf. A167507 for PARI code of "French()" - _M. F. Hasler_, Jun 03 2012 */
%Y Cf. A005589, A007208, A052360, A167507.
%K nonn,word,easy,nice
%O 0,1
%A _Simon Plouffe_
%E a(71) and a(74) corrected by _M. F. Hasler_, Jun 03 2012
%E Example completed by _Rémy Sigrist_, Sep 09 2018