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

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A202521 Number of digits up to the end of the next prime in the sequence. 0
 4, 1, 6, 2, 3, 8, 9, 10, 11, 13, 12, 5, 14, 15, 16, 17, 18, 20, 21, 22, 7, 24, 25, 26, 27, 19, 28, 30, 32, 33, 101, 34, 35, 36, 38, 39, 103 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,1 COMMENTS Draw a vertical line after each prime in the sequence. The terms of the sequence give the number of digits between the vertical lines. This is the lexicographically earliest sequence (for the next term always use the least number not yet in the sequence not leading to a contradiction) with this property. Since this allows it to "fill up" with small numbers, the sequence is a permutation of the positive integers. LINKS Table of n, a(n) for n=1..37. CROSSREFS Sequence in context: A109915 A334467 A255198 * A247362 A098987 A174390 Adjacent sequences: A202518 A202519 A202520 * A202522 A202523 A202524 KEYWORD nonn,base,more AUTHOR Eric Angelini, Dec 15 2011 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.

Last modified June 6 18:11 EDT 2023. Contains 363149 sequences. (Running on oeis4.)