OFFSET
1,1
COMMENTS
The sequence is finite with 1229 terms, A006880(4) = 1229.
LINKS
Reinhard Zumkeller, Table of n, a(n) for n = 1..1229 all terms
Eric Weisstein's World of Mathematics, Lexicographic Order
Wikipedia, Lexicographical order
EXAMPLE
PROG
(Haskell)
import Data.List (sortBy)
import Data.Function (on)
a210759 n = a210759_list !! (n-1)
a210759_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