The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
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
CROSSREFS
Sequence in context: A109915 A334467 A255198 * A247362 A098987 A174390
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.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 13 09:38 EDT 2024. Contains 372504 sequences. (Running on oeis4.)