login
A372204
a(n) is the number of letters in the Italian name of the n-th ordinal number.
1
5, 7, 5, 6, 6, 5, 7, 6, 4, 6, 10, 10, 11, 15, 12, 10, 15, 12, 14, 9, 11, 12, 13, 16, 15, 13, 14, 12, 13, 10, 12, 13, 14, 17, 16, 14, 15, 13, 14, 12, 14, 15, 16, 19, 18, 16, 17, 15, 16, 13, 15, 16, 17, 20, 19, 17, 18, 16, 17, 12, 14, 15, 16, 19, 18, 16, 17, 15, 16, 12
OFFSET
1,1
LINKS
EXAMPLE
Primo, secondo, terzo, quarto, quinto, sesto, settimo, ottavo, nono, ...
PROG
(Python)
from num2words import num2words
def A372204(n): return len(num2words(n, ordinal=True, lang='it')) # Chai Wah Wu, Apr 28 2024
CROSSREFS
Sequence in context: A011205 A167133 A144567 * A215732 A010718 A247872
KEYWORD
nonn,word
AUTHOR
Stefano Spezia, Apr 27 2024
EXTENSIONS
a(17), a(19) corrected by Chai Wah Wu, Apr 28 2024
STATUS
approved