A006969 Number of characters in French ordinal numbers.
7, 8, 9, 9, 9, 7, 8, 8, 8, 7, 7, 8, 9, 11, 9, 8, 12, 12, 12, 9, 15, 14, 15, 15, 15, 13, 14, 14, 14, 9, 16, 15, 16, 16, 16, 14, 15, 15, 15, 11, 18, 17, 18, 18, 18, 16, 17, 17, 17, 12, 19, 18
Offset: 1
Examples
a(21) = # "vingt-et-unième" = 15, where # means length of the string. a(50) = # "cinquantième" = 12. a(80) = # "quatre-vingtième": the '-s' disappears from "quatre-vingts". a(200) = # "deux-centième": the '-s' disappears from "deux cents".
References
- N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).
Crossrefs
Programs
-
PARI
apply( {A006969(n, t=French(n))=#t+if(n==1||"nq"==t=Strchr(Vecsmall(t)[-2..-1]), 5, "ts"==t || Vec(t)[2]=="e", 3, 4)}, [1..55]) \\ See A007005 for French(). - M. F. Hasler, Aug 08 2021
Formula
a(n) = A007005(n) + e, where e = 4 except for n = 1 and when the French name of n ends in "cinq" (then e = 5), or when it ends in "-e" or "-ts" (then e = 3). - M. F. Hasler, Aug 08 2021
Extensions
Edited by M. F. Hasler, Aug 08 2021
Comments