0,3

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

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

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

Sequence in context: A044950 A161872 A278248 * A244478 A261153 A199123

Adjacent sequences: A036458 A036459 A036460 * A036462 A036463 A036464

base,nonn

David W. Wilson

approved