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

 

Logo

Invitation: celebrating 50 years of OEIS, 250000 sequences, and Sloane's 75th, there will be a conference at DIMACS, Rutgers, Oct 9-10 2014.

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A036461 Number of 1 digits in base 3 representation of 2^n. 0
1, 0, 2, 0, 2, 2, 2, 2, 4, 0, 4, 2, 4, 2, 6, 4, 2, 4, 6, 2, 6, 4, 6, 4, 8, 2, 10, 4, 4, 8, 6, 8, 8, 8, 8, 6, 10, 8, 10, 10, 6, 6, 12, 8, 10, 14, 8, 10, 10, 12, 16, 8, 12, 18, 10, 10, 14, 10, 14, 14, 16, 10, 16, 12, 16, 16, 14, 16, 14, 18, 20, 12, 20, 10, 22, 12, 26, 8, 20, 12, 22, 14, 16 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,3

COMMENTS

The number of 1's in the base 3 representation of any even(odd) number is even(odd).

LINKS

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

MATHEMATICA

Table[DigitCount[2^n, 3, 1], {n, 0, 120}]  (* Harvey P. Dale, Mar 14 2011 *)

CROSSREFS

Sequence in context: A044949 A044950 A161872 * A244478 A199123 A207944

Adjacent sequences:  A036458 A036459 A036460 * A036462 A036463 A036464

KEYWORD

base,nonn

AUTHOR

David W. Wilson

STATUS

approved

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

Content is available under The OEIS End-User License Agreement .

Last modified October 1 14:45 EDT 2014. Contains 247511 sequences.