login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A157964 Consider the English number names for numbers from 1 to n, sorted in lexicographic order: the number name for a(n) gives the median in this list. 1
1, 1, 3, 1, 1, 1, 7, 1, 1, 1, 1, 1, 7, 1, 1, 1, 7, 1, 1, 1, 7, 7, 17, 17, 6, 6, 16, 16, 10, 10, 13, 13, 30, 30, 35, 35, 34, 35, 34, 35, 35, 38, 38, 30, 30, 13, 13, 10, 10, 16, 16, 6, 6, 17, 17, 7, 7, 1, 1, 1, 7, 7, 17, 17, 6, 6, 16, 16, 60, 16, 16, 6, 6, 72, 72, 73, 73, 76, 76, 77, 77, 71 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
COMMENTS
0 <= #{i: 1<=i<=n and ENW(i)<=ENW(a(n))} - #{i: 1<=i<=n and ENW(i)>ENW(a(n))} <= 1, where ENW(n) = number word for n in English.
LINKS
Wikipedia, Median
EXAMPLE
a(7)=7 ->seven: five<four<one<[seven]<six<three<two;
a(8)=1 ->one: eight<five<four<[one]<seven<six<three<two;
a(9)=1 ->one: eight<five<four<nine<[one]<seven<six<three<two.
CROSSREFS
Sequence in context: A179701 A276996 A102480 * A140670 A293682 A276651
KEYWORD
nonn,word,look
AUTHOR
Reinhard Zumkeller, Mar 10 2009
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 24 19:24 EDT 2024. Contains 371962 sequences. (Running on oeis4.)