login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A117970 Position of first 0 counting from the least significant digit in the ternary expansion of 2^n. 4
0, 0, 0, 0, 0, 3, 2, 2, 4, 4, 5, 4, 2, 2, 4, 0, 3, 4, 2, 2, 3, 3, 8, 3, 2, 2, 5, 5, 6, 5, 2, 2, 11, 4, 3, 5, 2, 2, 3, 3, 11, 3, 2, 2, 5, 8, 4, 5, 2, 2, 13, 5, 3, 5, 2, 2, 3, 3, 4, 3, 2, 2, 4, 4, 7, 4, 2, 2, 4, 6, 3, 4, 2, 2, 3, 3, 7, 3, 2, 2, 6, 6, 7, 6, 2, 2, 10, 4, 3, 7, 2, 2, 3, 3, 5, 3, 2, 2, 11, 5, 4, 17 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,6
LINKS
Eric Weisstein's World of Mathematics, Ternary
PROG
(PARI) a(n) = { my (p=2^n); for (k=1, oo, if (p==0, return (0), p%3==0, return (k), p\=3)) } \\ Rémy Sigrist, Dec 20 2019
CROSSREFS
Sequence in context: A308190 A235354 A058743 * A364846 A298904 A308194
KEYWORD
nonn,base
AUTHOR
Eric W. Weisstein, Apr 06 2006
EXTENSIONS
Edited by Charles R Greathouse IV, Aug 05 2010
a(0) = 0 prepended by Rémy Sigrist, Dec 20 2019
STATUS
approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 19 02:00 EDT 2024. Contains 371782 sequences. (Running on oeis4.)