login
A362123
Number of letters in the British English name of n, excluding spaces and hyphens.
4
4, 3, 3, 5, 4, 4, 3, 5, 5, 4, 3, 6, 6, 8, 8, 7, 7, 9, 8, 8, 6, 9, 9, 11, 10, 10, 9, 11, 11, 10, 6, 9, 9, 11, 10, 10, 9, 11, 11, 10, 5, 8, 8, 10, 9, 9, 8, 10, 10, 9, 5, 8, 8, 10, 9, 9, 8, 10, 10, 9, 5, 8, 8, 10, 9, 9, 8, 10, 10, 9, 7, 10, 10, 12, 11, 11, 10, 12, 12, 11, 6, 9, 9, 11, 10, 10, 9, 11, 11, 10, 6, 9, 9, 11, 10, 10, 9, 11, 11, 10, 10, 16, 16, 18, 17, 17, 16, 18, 18, 17, 16, 19, 19, 21, 21, 20, 20, 22, 21, 21, 19
OFFSET
0,1
LINKS
PROG
(Python)
from num2words import num2words
def a(n): return sum(1 for c in num2words(n, lang='en_GB') if c.isalpha())
print([a(n) for n in range(121)]) # Michael S. Branicky, Apr 21 2023
CROSSREFS
Cf. A005589.
Sequence in context: A195780 A063571 A005589 * A052360 A263046 A372049
KEYWORD
nonn,word
AUTHOR
N. J. A. Sloane, Apr 20 2023
EXTENSIONS
More than the usual number of terms are shown in the DATA field to avoid confusion with A005589.
STATUS
approved