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 A277914 #19 Dec 08 2023 15:41:56 %S A277914 0,1,0,1,2,3,2,1,2,1,0,1,2,3,4,5,4,5,4,5,6,5,4,3,4,5,4,5,4,3,2,3,2,1, %T A277914 0,1,2,3,4,5,6,7,6,7,8,7,8,9,10,9,8,9,8,9,10,11,10,11,10,11,10,9,10, %U A277914 11,10,9,8,7,8,9,10,9,10,11,10,9,10,9,10,9,10 %N A277914 a(n) is the number of zeros minus the number of ones among the first n terms of A076478. %C A277914 A036799 gives the positions of zeros in this sequence. %C A277914 Between two zeros, the graph of the sequence looks like a Takagi (or blancmange) curve. %H A277914 Rémy Sigrist, <a href="/A277914/b277914.txt">Table of n, a(n) for n = 0..10000</a> %H A277914 Wikipedia, <a href="https://en.wikipedia.org/wiki/Blancmange_curve">Blancmange curve</a> %F A277914 a(n) = Sum_{i=0..n-1} (-1)^A076478(i) for any n>=0. %t A277914 Join[{0},Flatten[Array[Accumulate[Flatten[Tuples[{1,-1},#]]]&,5]]] (* _Paolo Xausa_, Dec 08 2023 *) %Y A277914 Cf. A076478, A036799. %K A277914 nonn,base %O A277914 0,5 %A A277914 _Rémy Sigrist_, Nov 03 2016