The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A085238 Sort the numbers 2^i and 3^j. Then a(n) is the exponent of the n-th term. 5
 0, 1, 1, 2, 3, 2, 4, 3, 5, 6, 4, 7, 5, 8, 9, 6, 10, 11, 7, 12, 8, 13, 14, 9, 15, 10, 16, 17, 11, 18, 19, 12, 20, 13, 21, 22, 14, 23, 15, 24, 25, 16, 26, 17, 27, 28, 18, 29, 30, 19, 31, 20, 32, 33, 21, 34, 22, 35, 36, 23, 37, 38, 24, 39, 25, 40, 41, 26, 42, 27, 43, 44, 28 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,4 COMMENTS A006899(n) = A085239(n)^a(n); a(A085240(n))=a(n). LINKS T. D. Noe, Table of n, a(n) for n = 1..500 PROG (Haskell) a085238 n = e (mod x 2 + 2) x where    x = a006899 n    e b p = if p == 1 then 0 else 1 + e b (p `div` b) -- Reinhard Zumkeller, Oct 09 2013 (PARI) do(lim)=my(v=List(vector(logint(lim\=1, 2), i, 1<my(t=valuation(n, 2)); if(t, t, valuation(n, 3)), Set(v)) \\ Charles R Greathouse IV, Sep 02 2015 CROSSREFS Sequence in context: A026409 A336215 A243290 * A214371 A026338 A026242 Adjacent sequences:  A085235 A085236 A085237 * A085239 A085240 A085241 KEYWORD nonn AUTHOR Reinhard Zumkeller, Jun 22 2003 STATUS approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

Last modified July 25 13:05 EDT 2021. Contains 346290 sequences. (Running on oeis4.)