A007005 Number of characters in the French spelling of n, including spaces and hyphens.
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, 6, 12, 11, 12, 13, 11, 10, 11, 11, 11, 8, 14, 13, 14, 15, 13, 12, 13, 13, 13, 9, 15, 14, 15, 16, 14, 13, 14, 14, 14, 8, 14, 13, 14, 15, 13, 12, 13, 13, 13, 12, 16, 14, 15, 17, 15, 14
Offset: 0
Examples
a(0) = 4 = #"zéro" a(80) = 13 = #"quatre-vingts" a(999) = 31 = #"neuf cent quatre-vingt-dix-neuf" a(1000) = 5 = # "mille"
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]
- Index entries for sequences related to number of letters in n
Programs
-
PARI
A007005(n)=#French(n) /* cf. A167507 for PARI code of "French()" - M. F. Hasler, Jun 03 2012 */
Extensions
a(71) and a(74) corrected by M. F. Hasler, Jun 03 2012
Example completed by Rémy Sigrist, Sep 09 2018
Comments