If any even power of 2 ends with k 1's and 8's, they must be the first k terms of this sequence in reverse order.

A023411

If any even power of 2 ends with k 1's and 8's, they must be the first k terms of this sequence in reverse order.

Terms

    a(0) =8a(1) =8a(2) =8a(3) =1a(4) =8a(5) =1a(6) =8a(7) =1a(8) =1a(9) =8a(10) =8a(11) =8a(12) =8a(13) =8a(14) =8a(15) =1a(16) =8a(17) =1a(18) =8a(19) =8a(20) =8a(21) =8a(22) =1a(23) =8a(24) =1a(25) =8a(26) =1a(27) =1a(28) =8a(29) =1

External references