

A124915


a(n) = least integer k>=0 such that n=Floor[(2^j)/(3^k)] for some integer j>=0.


1



0, 0, 2, 0, 1, 4, 2, 0, 3, 1, 6, 4, 9, 2, 12, 0, 10, 3, 8, 25, 1, 6, 11, 16, 4, 9, 26, 2, 7, 36, 12, 0, 5, 34, 10, 27, 3, 32, 8, 37, 25, 1, 30, 6, 47, 23, 11, 40, 16, 4, 33, 21, 9, 38, 26, 2, 43, 31, 7, 48, 36, 24, 12, 0, 29, 17, 5, 46, 34, 22, 10, 39, 27, 15, 3, 44, 32, 20, 8, 49
(list;
graph;
refs;
listen;
history;
text;
internal format)



OFFSET

1,3


COMMENTS

Every nonnegative integer occurs infinitely many times. The jsequence is A124907.


LINKS



EXAMPLE

1=[2^0/3^0], 2=[2^1/3^0], 3=[2^5/3^2], 4=[2^2/3^0],...,
so jsequence=(0,1,5,2,...); ksequence=(0,0,2,0,...).


CROSSREFS



KEYWORD

nonn


AUTHOR



STATUS

approved



