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

 

Logo


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

0,7

LINKS

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

PROG

(PARI) a(n) = #select(x->((x%2) == 1), digits(3^n)); \\ Michel Marcus, Nov 22 2019

CROSSREFS

Cf. A055255, A034888.

Sequence in context: A139821 A248972 A077563 * A295630 A029147 A228571

Adjacent sequences:  A055253 A055254 A055255 * A055257 A055258 A055259

KEYWORD

nonn,base,easy

AUTHOR

Asher Auel (asher.auel(AT)reed.edu), May 05 2000

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 September 24 07:28 EDT 2020. Contains 337317 sequences. (Running on oeis4.)