OFFSET
0,1
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..10000
MATHEMATICA
f[n_] := Mod[Plus @@ IntegerDigits[2^n], 2]; Table[ f@n, {n, 0, 104}] (* Robert G. Wilson v, May 04 2009 *)
PROG
(PARI) a(n) = sumdigits(2^n) % 2; \\ Michel Marcus, Apr 20 2017
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Santi Spadaro, Jun 13 2002
STATUS
approved