cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A362123 Number of letters in the British English name of n, excluding spaces and hyphens.

This page as a plain text file.
%I A362123 #17 Nov 15 2023 13:13:49
%S A362123 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,
%T A362123 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,
%U A362123 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
%N A362123 Number of letters in the British English name of n, excluding spaces and hyphens.
%H A362123 Michael S. Branicky, <a href="/A362123/b362123.txt">Table of n, a(n) for n = 0..10000</a>
%o A362123 (Python)
%o A362123 from num2words import num2words
%o A362123 def a(n): return sum(1 for c in num2words(n, lang='en_GB') if c.isalpha())
%o A362123 print([a(n) for n in range(121)]) # _Michael S. Branicky_, Apr 21 2023
%Y A362123 Cf. A005589.
%K A362123 nonn,word
%O A362123 0,1
%A A362123 _N. J. A. Sloane_, Apr 20 2023
%E A362123 More than the usual number of terms are shown in the DATA field to avoid confusion with A005589.