login
A025692
Index of 2^n within sequence of numbers of form 2^i*6^j.
1
1, 2, 3, 5, 7, 9, 12, 15, 19, 23, 27, 32, 37, 43, 49, 55, 62, 69, 76, 84, 92, 101, 110, 119, 129, 139, 150, 161, 172, 184, 196, 208, 221, 234, 248, 262, 276, 291, 306, 322, 338, 354, 371, 388, 406, 424, 442, 461, 480, 499, 519, 539, 560, 581, 602, 624, 646, 669, 692, 715
OFFSET
0,2
LINKS
MAPLE
N:= 100: # for a(0)..a(N)
S:= sort([seq(seq(2^i*6^j, i=0..ilog2(2^N/6^j)), j=0..floor(log[6](2^N)))]):
seq(ListTools:-BinarySearch(S, 2^i), i=0..N); # Robert Israel, Jan 12 2021
CROSSREFS
Sequence in context: A005704 A022782 A283968 * A137285 A062441 A059290
KEYWORD
nonn
EXTENSIONS
Offset corrected by Robert Israel, Jan 12 2021
STATUS
approved