login
A023397
In base 10, if any power of 2 ends with k 2's and 3's, they must be the first k terms of this sequence in reverse order.
4
2, 3, 2, 3, 2, 2, 2, 3, 2, 3, 2, 3, 3, 2, 3, 3, 3, 3, 3, 3, 2, 3, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 2, 3, 3, 2, 3, 3, 3, 3, 3, 2, 2, 2, 2, 3, 3, 2, 3, 2, 2, 3, 2, 2, 3, 2, 2, 3, 2, 2, 2, 2, 3, 2, 2, 3, 2, 3, 3, 3, 2, 2, 3, 3, 3, 2, 3, 3, 3, 2, 2, 2, 2, 2, 3, 2, 2, 3, 3, 3, 2, 3, 2, 3, 3, 2, 3, 2, 3, 3, 2, 2, 2, 2, 2, 3, 2
OFFSET
1,1
LINKS
EXAMPLE
No power of 2 ends with 3, so the first term is 2.
No power of 2 is == 22 (mod 100), since 4 does not divide 22, so the next term is 3 (and 4 does divide 32).
No power of 2 is == 332 (mod 1000), since 8 does not divide 332, so the next term is 2 (and 8 does divide 232). And so on.
CROSSREFS
Sequence in context: A159580 A121549 A244228 * A258115 A296658 A276862
KEYWORD
nonn,base
STATUS
approved