OFFSET
1,1
COMMENTS
The sequence is finite with 25 terms, A006880(2) = 25.
LINKS
Eric Weisstein's World of Mathematics, Lexicographic Order
Wikipedia, Lexicographical order
EXAMPLE
PROG
(Haskell)
import Data.List (sortBy)
import Data.Function (on)
a210757 n = a210757_list !! (n-1)
a210757_list = sortBy (compare `on` show) $
takeWhile (<= 10^4) a000040_list
-- Reinhard Zumkeller, Apr 01 2012, Mar 25 2012
CROSSREFS
KEYWORD
nonn,base,fini,full
AUTHOR
Reinhard Zumkeller, Mar 25 2012
STATUS
approved