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.

A118247 a(0)=0. Concatenate onto the end of the sequence (from left to right) the integer m_n converted into binary (with the most significant digit on the left), where m_n is the smallest integer > A118248(n-1) and whose binary representation does not occur anywhere earlier in the sequence (when the concatenated sequence is read from left to right). A118248(n) then equals m_n when written in decimal.

Table of values

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

List of values

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