A052362 Indices of records in length of English name of n including spaces and dashes (A052360): n such that k < n => A052360(k) < A052360(n).
0, 3, 11, 13, 17, 21, 23, 73, 101, 103, 111, 113, 117, 121, 123, 173, 323, 373, 1101, 1103, 1111, 1113, 1117, 1121, 1123, 1173, 1323, 1373, 3323, 3373, 11373, 13323, 13373, 17373, 21373, 23323, 23373, 73373, 101323, 101373, 103323, 103373, 111373, 113323, 113373, 117373
Offset: 1
Examples
From _M. F. Hasler_, Aug 12 2020: (Start) The first term is zero, since all other nonnegative integers (thus certainly all those with longer names) are larger than zero. "One" and "two" are not in the sequence, since "zero" is smaller but has a longer name. "Three" is again in the sequence since all smaller numbers (0, 1 and 2) have shorter names. And so on. (End)
Programs
-
PARI
m=0;for(n=0,2e5, if(m<A052360(n), m=A052360(n); print1(n", "))) \\ M. F. Hasler, Aug 12 2020
-
Python
from itertools import count, islice from num2words import num2words as n2w def f(n): return len(n2w(n).replace(" and", "").replace(chr(44), "")) def agen(): record = 0 for n in count(0): value = f(n) if value > record: yield n; record = value print(list(islice(agen(), 46))) # Michael S. Branicky, Jul 12 2022
Extensions
Minor edits by Ray Chandler, Jul 22 2009
Name and example edited and more terms by M. F. Hasler, Aug 12 2020
Comments