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.

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

Table of values

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

List of values

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