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.

A283997 a(n) = n XOR A005187(floor(n/2)), where XOR is bitwise-xor (A003987).

Table of values

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

List of values

[0, 1, 3, 2, 7, 6, 2, 3, 15, 14, 2, 3, 6, 7, 5, 4, 31, 30, 2, 3, 6, 7, 5, 4, 14, 15, 13, 12, 5, 4, 4, 5, 63, 62, 2, 3, 6, 7, 5, 4, 14, 15, 13, 12, 5, 4, 4, 5, 30, 31, 29, 28, 5, 4, 4, 5, 13, 12, 12, 13, 4, 5, 7, 6, 127, 126, 2, 3, 6, 7, 5, 4, 14, 15, 13, 12, 5, 4, 4, 5, 30, 31, 29, 28, 5, 4, 4, 5, 13, 12, 12, 13, 4, 5, 7, 6, 62, 63, 61, 60, 5, 4, 4, 5, 13, 12, 12]