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 A036584 #8 Jul 08 2025 21:46:06 %S A036584 3,1,2,3,2,1,3,1,2,1,3,2,3,1,2,3,2,1,3,2,3,1,2,1,3,1,2,3,2,1,3,1,2,1, %T A036584 3,2,3,1,2,1,3,1,2,3,2,1,3,2,3,1,2,3,2,1,3,1,2,1,3,2,3,1,2,3,2,1,3,2, %U A036584 3,1,2,1,3,1,2,3,2,1,3,2,3,1,2,3,2,1,3,1,2,1,3,2,3,1,2,1,3,1,2 %N A036584 Ternary Thue-Morse sequence: closed under a->abc, b->ac, c->b. %D A036584 M. Lothaire, Combinatorics on Words. Addison-Wesley, Reading, MA, 1983, p. 26. %H A036584 Robert Israel, <a href="/A036584/b036584.txt">Table of n, a(n) for n = 0..10000</a> %p A036584 S:= [3]: %p A036584 Q:= {3=(3,1,2),1=(3,2),2=1}: %p A036584 while nops(S) < 100 do S:= subs(Q,S) od: %p A036584 S; %K A036584 nonn %O A036584 0,1 %A A036584 _N. J. A. Sloane_