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.

A306366 For any sequence s of positive integers without infinitely many consecutive equal terms, let T(s) be the sequence obtained by replacing each run, say of k consecutive t's, with a run of t consecutive k's; this sequence corresponds to T(K) (where K denotes the Kolakoski sequence A000002).

Table of values

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

List of values

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