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

 

Logo

Annual appeal: Please make a donation to keep the OEIS running! Over 6000 articles have referenced us, often saying "we discovered this result with the help of the OEIS".
Other ways to donate

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A210761 Primes less than 1000000 sorted lexicographically in decimal representation. 6
100003, 100019, 100043, 100049, 100057, 100069, 10007, 10009, 100103, 100109, 100129, 100151, 100153, 100169, 100183, 100189, 100193, 100207, 100213, 100237, 100267, 100271, 100279, 100291, 100297, 100313, 100333, 100343, 100357, 100361, 100363, 10037 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

The sequence is finite with 78498 terms, A006880(6) = 78498.

LINKS

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

Wikipedia, Lexicographical order

Eric Weisstein's World of Mathematics, Lexicographic Order

EXAMPLE

a(9586) = 2; a(18728) = 3; a(36435) = 5; a(53508) = 7;

a(1) = A000040(9593) = 100003, first term;

a(78498) = A000040(78498) = 999983, last term.

PROG

(Haskell)

Data.List (sortBy)

import Data.Function (on)

a210761 n = a210761_list !! (n-1)

a210761_list = sortBy (compare `on` show) $

                      takeWhile (<= 10^6) a000040_list

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

CROSSREFS

Cf. A000040, A210757, A210758, A210759, A210760.

Sequence in context: A017513 A099210 A017645 * A165297 A249854 A237233

Adjacent sequences:  A210758 A210759 A210760 * A210762 A210763 A210764

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 December 13 01:33 EST 2017. Contains 295954 sequences.