OFFSET
0,5
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.
MATHEMATICA
Im[Join[{0}, Accumulate[Nest[Join[#, Reverse[I #]] &, {1}, 7]]]] (* Vladimir Reshetnikov, Apr 14 2022 *)
PROG
CROSSREFS
KEYWORD
sign,base
AUTHOR
Rémy Sigrist, Feb 10 2020
STATUS
approved