OFFSET
0,5
COMMENTS
See A318438 for the real part of h and additional comments.
LINKS
FORMULA
a(2^k) = A108520(k-1) for any k > 0.
PROG
(PARI) a(n) = my (d=Vecrev(digits(n, 2))); imag(sum(i=1, #d, d[i]*(I-1)^(i-1)))
CROSSREFS
KEYWORD
AUTHOR
Rémy Sigrist, Aug 26 2018
STATUS
approved