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

A025672
Exponent of 8 (value of j) in n-th number of form 3^i*8^j.
3
0, 0, 1, 0, 1, 0, 2, 1, 0, 2, 1, 0, 3, 2, 1, 0, 3, 2, 1, 0, 4, 3, 2, 1, 0, 4, 3, 2, 1, 0, 5, 4, 3, 2, 1, 0, 5, 4, 3, 2, 1, 0, 6, 5, 4, 3, 2, 1, 0, 6, 5, 4, 3, 2, 1, 0, 7, 6, 5, 4, 3, 2, 1, 0, 7, 6, 5, 4, 3, 2, 1, 0, 8, 7, 6, 5, 4, 3, 2, 1, 0, 8, 7, 6, 5, 4, 3, 2, 1, 0, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0, 9, 8, 7, 6, 5, 4, 3, 2
OFFSET
1,7
LINKS
FORMULA
a(n) = valuation(A025615(n),8) = valuation(A025615(n),2)/3 = A007814(A025615(n))/3. - M. F. Hasler, Feb 20 2012
PROG
(PARI) A025672(n)=valuation(A025615(n), 8) \\ M. F. Hasler, Feb 20 2012
(PARI) for(n=1, 1e9, n==8^valuation(n, 8)*3^valuation(n, 3)&&print1(valuation(n, 8), ", ")) \\ M. F. Hasler, Feb 20 2012
CROSSREFS
Sequence in context: A283486 A330759 A216607 * A025665 A357022 A025841
KEYWORD
nonn
EXTENSIONS
Incorrect formula deleted by Sean A. Irvine, Feb 20 2012
STATUS
approved