login
This site is supported by donations to The OEIS Foundation.

 

Logo

Annual Appeal: Please make a donation to keep the OEIS running. In 2018 we replaced the server with a faster one, added 20000 new sequences, and reached 7000 citations (often saying "discovered thanks to the OEIS").
Other ways to donate

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A104320 Number of zeros in ternary representation of 2^n. 6
0, 0, 0, 0, 0, 1, 1, 1, 2, 2, 1, 1, 1, 4, 1, 0, 4, 2, 3, 3, 3, 3, 3, 7, 7, 9, 5, 6, 6, 4, 4, 3, 5, 6, 7, 9, 9, 10, 6, 6, 9, 9, 8, 9, 8, 7, 13, 12, 13, 9, 5, 9, 8, 6, 16, 13, 9, 10, 11, 11, 7, 14, 13, 13, 9, 12, 14, 15, 15, 11, 11, 17, 15, 19, 14, 19, 12, 18, 15, 11, 10, 16, 15, 14, 14, 13, 17, 14 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,9

COMMENTS

a(n) = A077267(A000079(n));

a(A104321(n))=n and a(m)<>n for m < A104321(n);

N. J. A. Sloane conjectures a(n)>0 for n>15, see A102483.

LINKS

Table of n, a(n) for n=0..87.

EXAMPLE

n=13: 2^13=8192 -> '102020102', a(13) = 4.

MATHEMATICA

Table[DigitCount[2^n, 3, 0], {n, 0, 90}] (* Harvey P. Dale, May 06 2014 *)

CROSSREFS

Cf. A004642, A007089.

Sequence in context: A140751 A259922 A162741 * A242618 A180264 A225200

Adjacent sequences:  A104317 A104318 A104319 * A104321 A104322 A104323

KEYWORD

nonn

AUTHOR

Reinhard Zumkeller, Mar 01 2005

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.

License Agreements, Terms of Use, Privacy Policy. .

Last modified December 12 07:09 EST 2018. Contains 318053 sequences. (Running on oeis4.)