

A210757


Primes less than 100 sorted lexicographically in decimal representation.


6



11, 13, 17, 19, 2, 23, 29, 3, 31, 37, 41, 43, 47, 5, 53, 59, 61, 67, 7, 71, 73, 79, 83, 89, 97
(list;
graph;
refs;
listen;
history;
text;
internal format)



OFFSET

1,1


COMMENTS

The sequence is finite with 25 terms, A006880(2) = 25.


LINKS

Table of n, a(n) for n=1..25.
Wikipedia, Lexicographical order
Eric Weisstein's World of Mathematics, Lexicographic Order


EXAMPLE

a(5) = 2; a(8) = 3; a(14) = 5; a(19) = 7;
a(1) = A000040(1) = 2, first term;
a(25) = A000040(25) = 97, last term.


PROG

(Haskell)
import Data.List (sortBy)
import Data.Function (on)
a210757 n = a210757_list !! (n1)
a210757_list = sortBy (compare `on` show) $
takeWhile (<= 10^4) a000040_list
 Reinhard Zumkeller, Apr 01 2012, Mar 25 2012


CROSSREFS

Cf. A000040, A210758, A210759, A210760, A210761.
Sequence in context: A205693 A068569 A124176 * A031979 A055239 A138708
Adjacent sequences: A210754 A210755 A210756 * A210758 A210759 A210760


KEYWORD

nonn,base,fini,full


AUTHOR

Reinhard Zumkeller, Mar 25 2012


STATUS

approved



