login
List the positions of all digits 8 in the concatenation of all terms, not necessarily in order. This is the lexicographically earliest such sequence.
8

%I #22 Apr 18 2021 02:14:52

%S 2,8,4,80,7,88,11,81,15,82,18,21,83,25,84,28,31,85,35,86,38,41,87,45,

%T 89,48,51,800,56,801,61,802,66,803,71,804,76,805,98,888,8888,880,93,

%U 806,99,881,104,807,110,808,112,118,122,809,128,810,127,137,811

%N List the positions of all digits 8 in the concatenation of all terms, not necessarily in order. This is the lexicographically earliest such sequence.

%C See A210415 for comments, links, and code.

%H Danny Rorabaugh, <a href="/A210422/b210422.txt">Table of n, a(n) for n = 1..1000</a>

%e The sequence cannot start with 1 because the first digit is not 8. Let us start with 2: the second digit is equal to 8. The third digit cannot be 3 because the third digit is not 8. So let it be 4. In the next position we now have 80 because it is the minimum number greater than 8 and starting with the digit 8. And so on.

%Y Cf. A210414, A210415, A210416, A210417, A210418, A210419, A210420, A210421, A210423.

%K nonn,base

%O 1,1

%A _Paolo P. Lava_, Mar 26 2012

%E Name edited and a(25)-a(59) corrected by _Danny Rorabaugh_, Nov 30 2015