login
A025643
Exponent of 3 (value of i) in n-th number of form 3^i*8^j.
1
0, 1, 0, 2, 1, 3, 0, 2, 4, 1, 3, 5, 0, 2, 4, 6, 1, 3, 5, 7, 0, 2, 4, 6, 8, 1, 3, 5, 7, 9, 0, 2, 4, 6, 8, 10, 1, 3, 5, 7, 9, 11, 0, 2, 4, 6, 8, 10, 12, 1, 3, 5, 7, 9, 11, 13, 0, 2, 4, 6, 8, 10, 12, 14, 1, 3, 5, 7, 9, 11, 13, 15, 0, 2, 4, 6, 8, 10, 12, 14, 16, 1, 3, 5, 7, 9, 11, 13, 15, 17, 0, 2, 4, 6, 8, 10
OFFSET
1,4
LINKS
MAPLE
N:= 10^40: # include entries for all 3^i*8^j <= N
map(t -> t[1], sort([seq(seq([i, j], j=0..floor(log[8](N/3^i))), i=0..floor(log[3](N)))], (s, t) -> 3^s[1]*8^s[2]<=3^t[1]*8^t[2]));
CROSSREFS
Sequence in context: A025641 A025649 A025642 * A127478 A127472 A194665
KEYWORD
nonn
STATUS
approved