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.
6, 3, 3, 6, 6, 3, 6, 3, 6, 3, 3, 3, 3, 3, 6, 3, 3, 3, 6, 3, 3, 3, 3, 3, 6, 6, 3, 3, 6, 3, 3, 6, 3, 6, 3, 3, 3, 6, 3, 6, 3, 6, 6, 3, 3, 6, 3, 6, 6, 6, 3, 3, 3, 3, 6, 6, 3, 6, 3, 3, 3, 6, 6, 6, 3, 6, 3, 3, 6, 6, 6, 3, 6, 6, 3, 3, 6, 3, 3, 3, 6, 3, 3, 6, 3, 6, 3, 3, 6, 6, 3, 3, 6, 3, 3, 6, 3, 3, 6, 3, 6, 3, 6, 3, 6, 3, 3, 3
Offset: 1
Links
- Ray Chandler, Table of n, a(n) for n = 1..10000
- Milan Janjic, Enumerative Formulas for Some Functions on Finite Sets
Crossrefs
Cf. A023396.
Formula
a(n) = 3*A023396(n).