This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.
%I A083905 #18 May 25 2021 01:39:17 %S A083905 0,1,0,0,-1,1,0,1,0,2,1,0,-1,1,0,0,-1,1,0,-1,-2,0,-1,1,0,2,1,0,-1,1,0, %T A083905 1,0,2,1,0,-1,1,0,2,1,3,2,1,0,2,1,0,-1,1,0,-1,-2,0,-1,1,0,2,1,0,-1,1, %U A083905 0,0,-1,1,0,-1,-2,0,-1,1,0,2,1,0,-1,1,0,-1,-2,0,-1,-2,-3,-1 %N A083905 G.f.: 1/(1-x) * sum(k>=0, (-1)^k*x^2^(k+1)/(1+x^2^k)). %C A083905 For all n, a(3*A006288(n)) = 0 as proved in Russian forum dxdy.ru - see link. %H A083905 <a href="http://dxdy.ru/post430735.html#p430735">Discussion in Russian forum dxdy.ru</a> %H A083905 R. Stephan, <a href="/somedcgf.html">Some divide-and-conquer sequences ...</a> %H A083905 R. Stephan, <a href="/A079944/a079944.ps">Table of generating functions</a> %H A083905 R. Stephan, <a href="http://arXiv.org/abs/math.CO/0307027">Divide-and-conquer generating functions. I. Elementary sequences</a> %F A083905 a(1)=0, a(2n) = -a(n)+1, a(2n+1) = -a(n). %F A083905 a(n) = A030300(n) - A065359(n). %o A083905 (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", ")) %o A083905 (PARI) a(n) = sum(i=0,logint(n,2)-1, if(!bittest(n,i),(-1)^i)); \\ _Kevin Ryde_, May 24 2021 %Y A083905 Cf. A030300, A065359, A023416, A006288. %K A083905 sign,easy %O A083905 1,10 %A A083905 _Ralf Stephan_, Jun 18 2003