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”).

A124913
a(n) = least integer k>=0 such that n=Floor[(3^j)/(4^k)] for some integer j>=0.
1
0, 1, 0, 6, 2, 1, 12, 4, 0, 7, 3, 14, 10, 6, 2, 17, 13, 9, 5, 1, 16, 35, 12, 8, 4, 23, 0, 38, 15, 11, 30, 7, 26, 3, 22, 18, 60, 14, 56, 33, 10, 29, 6, 25, 2, 21, 105, 40, 17, 36, 13, 55, 32, 9, 135, 28, 5, 131, 24, 1, 85, 20, 230, 39, 16, 100, 35, 203, 12, 222, 31, 8, 50, 27, 69, 4, 46
OFFSET
1,4
COMMENTS
Each nonnegative integer occurs infinitely many times. The j-sequence is A124905.
EXAMPLE
1=[3^0/4^0], 2=[3^2/4^1], 3=[3^1/4^0], 4=[3^9/4^6],...,
so j-sequence=(0,2,1,9,...); k-sequence=(0,1,0,6,...).
CROSSREFS
Cf. A124905.
Sequence in context: A217909 A334943 A002247 * A181415 A289711 A101818
KEYWORD
nonn
AUTHOR
Clark Kimberling, Nov 12 2006
STATUS
approved