login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A210759 Primes less than 10000 sorted lexicographically in decimal representation. 6
1009, 101, 1013, 1019, 1021, 103, 1031, 1033, 1039, 1049, 1051, 1061, 1063, 1069, 107, 1087, 109, 1091, 1093, 1097, 11, 1103, 1109, 1117, 1123, 1129, 113, 1151, 1153, 1163, 1171, 1181, 1187, 1193, 1201, 1213, 1217, 1223, 1229, 1231, 1237, 1249, 1259, 127 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

The sequence is finite with 1229 terms, A006880(4) = 1229.

LINKS

Reinhard Zumkeller, Table of n, a(n) for n = 1..1229 all terms

Wikipedia, Lexicographical order

Eric Weisstein's World of Mathematics, Lexicographic Order

EXAMPLE

a(161) = 2; a(307) = 3; a(585) = 5; a(851) = 7;

a(1) = A000040(169) = 1009, first term;

a(1229) = A000040(1229) = 9973, last term.

PROG

(Haskell)

import Data.List (sortBy)

import Data.Function (on)

a210759 n = a210759_list !! (n-1)

a210759_list = sortBy (compare `on` show) $

                      takeWhile (<= 10^4) a000040_list

-- Reinhard Zumkeller, Apr 01 2012, Mar 25 2012

CROSSREFS

Cf. A000040, A210757, A210758, A210760, A210761.

Sequence in context: A187863 A280869 A145235 * A171119 A153640 A139665

Adjacent sequences:  A210756 A210757 A210758 * A210760 A210761 A210762

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 | Recent | More pages
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy .

Last modified February 20 20:12 EST 2018. Contains 299385 sequences. (Running on oeis4.)