OFFSET
1,3
LINKS
Rémy Sigrist, Table of n, a(n) for n = 1..8032
Rémy Sigrist, Colored scatterplot of the first 74383 terms (where the color is function of the 2-adic valuation of the least k such that a(n) = A055945(k))
EXAMPLE
A055945 starts: 0, 0, 1, 0, 3, 0, 3, 0, 7, 0, 5, -2, 9, 2, 7, 0, 15, 0, ...
We keep: 0, 1, 3, 7, 5, -2, 9, 2, 15, ...
PROG
(PARI) s=[]; for (n=0, 151, v=n-fromdigits(Vecrev(binary(n)), 2); if (!setsearch(s, v), print1 (v ", "); s=setunion(s, [v])))
CROSSREFS
KEYWORD
sign,base
AUTHOR
Rémy Sigrist, Jan 23 2020
STATUS
approved