login
Number of digits up to the end of the next prime in the sequence.
0

%I #12 Jan 03 2016 04:37:44

%S 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,

%T 28,30,32,33,101,34,35,36,38,39,103

%N Number of digits up to the end of the next prime in the sequence.

%C 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.

%K nonn,base,more

%O 1,1

%A _Eric Angelini_, Dec 15 2011