login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A025638
Exponent of 2 (value of i) in n-th number of form 2^i*9^j.
1
0, 1, 2, 3, 0, 4, 1, 5, 2, 6, 3, 0, 7, 4, 1, 8, 5, 2, 9, 6, 3, 0, 10, 7, 4, 1, 11, 8, 5, 2, 12, 9, 6, 3, 0, 13, 10, 7, 4, 1, 14, 11, 8, 5, 2, 15, 12, 9, 6, 3, 0, 16, 13, 10, 7, 4, 1, 17, 14, 11, 8, 5, 2, 18, 15, 12, 9, 6, 3, 19, 0, 16, 13, 10, 7, 4, 20, 1, 17, 14, 11, 8, 5, 21, 2, 18, 15, 12, 9, 6, 22
OFFSET
1,3
LINKS
MAPLE
N:= 10^8: # for 2^i*9^j <= N
B:= sort([seq(seq(2^i*9^j, i=0..ilog2(N/9^j)), j=0..floor(log[9](N)))]):
map(padic:-ordp, B, 2); # Robert Israel, Jun 08 2018
CROSSREFS
Cf. A025611.
Sequence in context: A021438 A195822 A356624 * A215591 A025639 A195827
KEYWORD
nonn
STATUS
approved