OFFSET
0,8
COMMENTS
See A318722 for the real part of g and additional comments.
LINKS
Rémy Sigrist, Table of n, a(n) for n = 0..12287
PROG
(PARI) a(n) = my (d=Vecrev(digits(1+n+n\3, 4)), z=0); for (k=1, #d, if (d[k], z = I^d[k] * (-z + (1+I) * 2^(k-1)))); imag((z-1-I)/2)
CROSSREFS
KEYWORD
sign,base
AUTHOR
Rémy Sigrist, Sep 02 2018
STATUS
approved