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
R. Zumkeller, Table of n, a(n) for n = 1..1000
Wikipedia, Median
Robert G. Wilson v, English names for the numbers from 0 to 11159 without spaces or hyphens
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
KEYWORD
AUTHOR
Reinhard Zumkeller, Mar 10 2009
STATUS
approved