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 A305389 #13 Feb 06 2019 12:31:28 %S A305389 1,2,3,2,3,1,2,3,3,1,2,3,2,3,1,2,3,2,3,1,2,3,3,1,2,3,2,3,1,2,3,1,2,3, %T A305389 2,3,1,2,3,3,1,2,3,2,3,1,2,3,3,1,2,3,2,3,1,2,3,1,2,3,2,3,1,2,3,3,1,2, %U A305389 3,2,3,1,2,3,2,3,1,2,3,3,1,2,3,2,3,1,2,3,1,2,3,2,3,1,2,3,3 %N A305389 A ternary tribonacci sequence: define the morphism f: 1 -> 2, 2 -> 3, 3 -> 1,2,3; let S[k] be result of applying f k times to 1, for k =- 0,1,2,...; sequence gives limit S[3k] as k -> oo. %H A305389 N. J. A. Sloane, <a href="/A305389/b305389.txt">Table of n, a(n) for n = 0..25280</a> %Y A305389 The three sequence A305389, A305390, A305391 together give the limiting forms of the rows of A059832. %Y A305389 See A316324, A316325, A316326 for indices of 1's, 2's, 3's respectively. %K A305389 nonn %O A305389 0,2 %A A305389 _N. J. A. Sloane_, Jun 21 2018