OFFSET
0,3
COMMENTS
LINKS
Rémy Sigrist, Table of n, a(n) for n = 0..8191
FORMULA
PROG
(PARI) a(n) = { my (v=0, e); while (n, n-=2^e=valuation(n, 2); v+=fibonacci(-2-e)); v }
CROSSREFS
KEYWORD
sign,base
AUTHOR
Rémy Sigrist, Jun 13 2021
STATUS
approved