login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
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
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
Sequence in context: A205693 A068569 A124176 * A031979 A055239 A352154
KEYWORD
nonn,base,fini,full
AUTHOR
Reinhard Zumkeller, Mar 25 2012
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 16 07:57 EDT 2024. Contains 371698 sequences. (Running on oeis4.)