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

A023414

If any power of 2 ends with k 7'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) =7a(4) =7a(5) =8a(6) =7a(7) =8a(8) =7a(9) =8a(10) =8a(11) =8a(12) =8a(13) =8a(14) =7a(15) =8a(16) =8a(17) =8a(18) =7a(19) =8a(20) =8a(21) =8a(22) =8a(23) =8a(24) =7a(25) =7a(26) =8a(27) =8a(28) =7a(29) =8

External references