login
This site is supported by donations 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

%I

%S 11,13,17,19,2,23,29,3,31,37,41,43,47,5,53,59,61,67,7,71,73,79,83,89,

%T 97

%N Primes less than 100 sorted lexicographically in decimal representation.

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

%H Wikipedia, <a href="http://en.wikipedia.org/wiki/Lexicographical_order">Lexicographical order</a>

%H Eric Weisstein's World of Mathematics, <a href="http://mathworld.wolfram.com/LexicographicOrder.html">Lexicographic Order</a>

%e a(5) = 2; a(8) = 3; a(14) = 5; a(19) = 7;

%e a(1) = A000040(1) = 2, first term;

%e a(25) = A000040(25) = 97, last term.

%o (Haskell)

%o import Data.List (sortBy)

%o import Data.Function (on)

%o a210757 n = a210757_list !! (n-1)

%o a210757_list = sortBy (compare `on` show) $

%o takeWhile (<= 10^4) a000040_list

%o -- _Reinhard Zumkeller_, Apr 01 2012, Mar 25 2012

%Y Cf. A000040, A210758, A210759, A210760, A210761.

%K nonn,base,fini,full

%O 1,1

%A _Reinhard Zumkeller_, Mar 25 2012

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified November 17 12:39 EST 2018. Contains 317276 sequences. (Running on oeis4.)