OFFSET
1,1
COMMENTS
The sequence is finite with 168 terms, A006880(3) = 168.
LINKS
Reinhard Zumkeller, Table of n, a(n) for n = 1..168 all terms
Eric Weisstein's World of Mathematics, Lexicographic Order
Wikipedia, Lexicographical order
EXAMPLE
PROG
(Haskell)
import Data.List (sortBy)
import Data.Function (on)
a210758 n = a210758_list !! (n-1)
a210758_list = sortBy (compare `on` show) $
takeWhile (<= 1000) a000040_list
-- Reinhard Zumkeller, Apr 01 2012, Mar 25 2012
CROSSREFS
KEYWORD
nonn,base,fini,full,changed
AUTHOR
Reinhard Zumkeller, Mar 25 2012
STATUS
approved