login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

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
OFFSET
1,1
COMMENTS
The sequence is finite with 25 terms, A006880(2) = 25.
LINKS
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 !! (n-1)
a210757_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