OFFSET
1,10
COMMENTS
For all n, a(3*A006288(n)) = 0 as proved in Russian forum dxdy.ru - see link.
LINKS
PROG
(PARI) for(n=1, 100, l=ceil(log(n)/log(2)); t=polcoeff(1/(1-x)*sum(k=0, l, (-1)^k*(x^2^(k+1))/(1+x^2^k)) + O(x^(n+1)), n); print1(t", "))
(PARI) a(n) = sum(i=0, logint(n, 2)-1, if(!bittest(n, i), (-1)^i)); \\ Kevin Ryde, May 24 2021
CROSSREFS
KEYWORD
sign,easy
AUTHOR
Ralf Stephan, Jun 18 2003
STATUS
approved