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.

A157238 0-1 sequence generated by starting with a 0, and then by using whichever of 0, 1 will result in the shortest sequence repeated at the end.

Table of values

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

List of values

[0, 1, 0, 0, 1, 1, 0, 1, 0, 0, 1, 0, 1, 1, 0, 0, 1, 0, 0, 0, 1, 1, 0, 1, 0, 0, 1, 1, 0, 0, 0, 1, 0, 0, 1, 1, 0, 1, 0, 0, 1, 0, 1, 1, 0, 0, 1, 0, 0, 0, 1, 1, 0, 1, 0, 0, 1, 1, 0, 1, 1, 1, 0, 0, 1, 0, 1, 1, 0, 0, 1, 1, 1, 0, 1, 1, 0, 0, 1, 0, 1, 1, 0, 1, 0, 0, 1, 1, 0, 1, 1, 1, 0, 0, 1, 0, 1, 1, 0, 0]