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
Eric Weisstein's World of Mathematics, Octal
Wikipedia, Lexicographical order
Wikipedia, Octal
EXAMPLE
a(10) = 4101 -> 10005 [oct];
a(11) = 4102 -> 10006 [oct];
a(12) = 4103 -> 10007 [oct];
a(13) = 513 -> 1001 [oct];
a(14) = 4104 -> 10010 [oct];
a(15) = 4105 -> 10011 [oct];
a(16) = 4106 -> 10012 [oct];
largest term a(67151) = 10000 -> 23420 [oct];
last term a(10000) = 4095 -> 7777 [oct], largest term lexicographically.
PROG
(Haskell)
import Data.Ord (comparing)
import Data.List (sortBy)
a190130 n = a190130_list !! (n-1)
a190130_list = sortBy (comparing (show . a007094)) [1..10000]
CROSSREFS
KEYWORD
nonn,base,fini,full
AUTHOR
Reinhard Zumkeller, May 06 2011
STATUS
approved