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 A065251 #4 Dec 25 2017 12:33:25 %S A065251 1,1,0,1,0,-1,1,1,0,-1,1,0,-1,1,0,1,0,-1,1,0,-1,1,0,-1,1,0,-1,1,0,-1, %T A065251 1,1,0,-1,1,0,-1,1,0,-1,1,0,-1,1,0,-1,1,0,-1,1,0,-1,1,0,-1,1,0,-1,1,0, %U A065251 -1,1,0,1,0,-1,1,0,-1,1,0,-1,1,0,-1,1,0,-1,1,0,-1,1,0,-1,1,0,-1,1,0,-1,1,0,-1,1,0,-1,1,0,-1,1,0,-1,1,0,-1,1,0,-1,1,0 %N A065251 Simple quasi-periodic sequence consisting of the terms 1, 0 and -1. %H A065251 A. Karttunen, <a href="http://www.iki.fi/~kartturi/matikka/stebrota.htm">Conjecture regarding A065249 and A065251</a> %F A065251 a(n) = 1-((n-2^[log_2(n)]) mod 3) %p A065251 [seq(A065251(j),j=1..120)]; A065251 := n -> 1-((n-2^floor_log_2(n)) mod 3); %t A065251 Table[1-Mod[n-2^Floor[Log[2,n]],3],{n,110}] (* _Harvey P. Dale_, Dec 25 2017 *) %Y A065251 The same sequence modulo 3: A065252. Cf. A065249. %K A065251 sign %O A065251 1,1 %A A065251 _Antti Karttunen_, Oct 25 2001