|
|
A052363
|
|
Numbers n whose English name has a greater length (A005589) than any smaller number.
|
|
11
|
|
|
0, 3, 11, 13, 17, 23, 73, 101, 103, 111, 113, 117, 123, 173, 323, 373, 1103, 1111, 1113, 1117, 1123, 1173, 1323, 1373, 3323, 3373, 11373, 13323, 13373, 17373, 23323, 23373, 73373, 101373, 103323, 103373, 111373, 113323, 113373, 117373, 123323, 123373, 173373, 323373, 373373
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
COMMENTS
|
Indices of records in A005589 (which only counts letters, but not spaces and punctuation, in the English name of numbers).
|
|
LINKS
|
Eric Weisstein's World of Mathematics, Number
|
|
EXAMPLE
|
Sequence A052362 uses A052360 which also counts spaces and dashes, therefore "twenty-one" is in that sequence but not in this one: it uses one more character ('-') but has the same number of letters than "seventeen". - M. F. Hasler, Aug 12 2020
|
|
PROG
|
(Python)
from itertools import count, islice
from num2words import num2words as n2w
def f(n): return sum(1 for c in n2w(n).replace(" and", "") if c.isalpha())
def agen():
record = 0
for n in count(0):
value = f(n)
if value > record: yield n; record = value
n += 1
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,word
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|