Let $a(n)$ be A339970 = A329697$($A019565$(2n))$: the sequence begins with $$0, 1, 1, 2, 2, 3, 3, 4, 2, 3, 3, 4, 4, 5, 5, 6, 2, 3, 3, 4, 4$$ Also let's consider $$\ell(n)=\left\lfloor\log_{2}(n)\right\rfloor$$ and $$T(n,k)=\left\lfloor\frac{n}{2^k}\right\rfloor\operatorname{mod}2$$ Here $T(n,k)$ is the $(k+1)$-th bit from the right side in binary expansion of $n$.
Then we have an integer sequence given by $$b(n)=\sum\limits_{k=0}^{\ell(n)}\sum\limits_{j=0}^{\ell(n)-k}(-1)^{k}(j+1)T(n,j+k)$$ The sequence begins with $$1, 1, 2, 2, 3, 3, 4, 2, 3, 3, 4, 4, 5, 5, 6, 3, 4, 4, 5, 5$$
Let $c(n)=b(n)-a(n)$. Here $c(0)=0$.
I conjecture that for $n\geqslant0$, $0 < k < 16$ we have $$a(16n+k)=b(16n+k)-c(16n)$$
Is there a way to prove it?