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

A023407

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

Terms

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

External references