cp's OEIS Frontend

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.

A073058 Define s(1)={1,2}, s(2)={1,3} and s(3)={1}. For a finite sequence A={a_1, ..., a_n}, with elements in {1,2,3}, define t(A) to be the concatenation of A, s(a_1), s(a_2), ... and s(a_n). Start with the sequence {1,2,3} and repeatedly apply t; limiting sequence is shown.

Table of values

n a(n)
1 1
2 2
3 3
4 1
5 2
6 1
7 3
8 1
9 1
10 2
11 1
12 3
13 1
14 1
15 2
16 1
17 3
18 1
19 2
20 1
21 1
22 2
23 1
24 2
25 1
26 3
27 1
28 1
29 2
30 1
31 3
32 1
33 2
34 1
35 1
36 2
37 1
38 2
39 1
40 3
41 1
42 2
43 1
44 1
45 2
46 1
47 2
48 1
49 3
50 1
51 2
52 1
53 1
54 2
55 1
56 3
57 1
58 2
59 1
60 2
61 1
62 3
63 1
64 2
65 1
66 3
67 1
68 1
69 2
70 1
71 3
72 1
73 2
74 1
75 1
76 2
77 1
78 2
79 1
80 3
81 1
82 2
83 1
84 1
85 2
86 1
87 2
88 1
89 3
90 1
91 2
92 1
93 1
94 2
95 1
96 3
97 1
98 2
99 1
100 2
101 1
102 3
103 1
104 2
105 1

List of values

[1, 2, 3, 1, 2, 1, 3, 1, 1, 2, 1, 3, 1, 1, 2, 1, 3, 1, 2, 1, 1, 2, 1, 2, 1, 3, 1, 1, 2, 1, 3, 1, 2, 1, 1, 2, 1, 2, 1, 3, 1, 2, 1, 1, 2, 1, 2, 1, 3, 1, 2, 1, 1, 2, 1, 3, 1, 2, 1, 2, 1, 3, 1, 2, 1, 3, 1, 1, 2, 1, 3, 1, 2, 1, 1, 2, 1, 2, 1, 3, 1, 2, 1, 1, 2, 1, 2, 1, 3, 1, 2, 1, 1, 2, 1, 3, 1, 2, 1, 2, 1, 3, 1, 2, 1]