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 A081252 #6 Mar 30 2012 17:27:40 %S A081252 0,0,1,1,2,4,5,5,6,8,11,15,18,20,21,21,22,24,27,31,36,42,49,57,64,70, %T A081252 75,79,82,84,85,85,86,88,91,95,100,106,113,121,130,140,151,163,176, %U A081252 190,205,221,236,250,263,275,286,296,305,313,320,326,331,335,338,340,341,341 %N A081252 Partial sums of A053646. %H A081252 Klaus Brockhaus, <a href="/A053646/a053646.gif">Illustration for A053646, A081252, A081253 and A081254</a> %F A081252 a(n) = sum{j=1..n, A053646(j)}. %e A081252 First seven terms of A053646 are 0,0,1,0,1,2,1, so a(7) = 5. %o A081252 (PARI) {s=0; for(n=1,65,p=2^floor(0.1^25+log(n)/log(2)); print1(s=s+min(n-p,2*p-n),","))} %Y A081252 Cf. A053646, A081253, A081254. %K A081252 easy,nonn %O A081252 1,5 %A A081252 _Klaus Brockhaus_, Mar 17 2003