OFFSET
1,2
LINKS
Reinhard Zumkeller, Table of n, a(n) for n = 1..10000 (full sequence)
Eric Weisstein's World of Mathematics, Lexicographic Order.
Wikipedia, Lexicographical order.
EXAMPLE
a(13) = 4096 -> 1000000000000 [bin];
a(14) = 8192 -> 10000000000000 [bin];
a(15) = 8193 -> 10000000000001 [bin];
a(16) = 4097 -> 1000000000001 [bin];
a(17) = 8194 -> 10000000000010 [bin];
a(18) = 8195 -> 10000000000011 [bin];
a(19) = 2049 -> 100000000001 [bin];
a(20) = 4098 -> 1000000000010 [bin];
largest term a(3626) = 10000 -> 10011100010000 [bin];
last term a(10000) = 8191 -> 1111111111111 [bin], largest term lexicographically.
PROG
(Haskell)
import Data.Ord (comparing)
import Data.List (sortBy)
a190126 n = a190126_list !! (n-1)
a190126_list = sortBy (comparing (show . a007088)) [1..10000]
CROSSREFS
KEYWORD
nonn,base,fini,full
AUTHOR
Reinhard Zumkeller, May 06 2011
STATUS
approved