OFFSET
0,4
LINKS
FORMULA
For any k >= 0:
- a(2^(4*k)) = 0,
- a(2^(4*k+1)) = (-4)^k,
- a(2^(4*k+2)) = 2*(-4)^k,
- a(2^(4*k+3)) = 2*(-4)^k).
PROG
(PARI) { z=0; for (n=0, 67, print1 (imag(z) ", "); z += I^hammingweight(n)) }
CROSSREFS
KEYWORD
sign,base
AUTHOR
Rémy Sigrist, Feb 08 2020
STATUS
approved