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.

A003816 a(0) = 0, a(n) = a(n-1) XOR -n.

Table of values

n a(n)
0 0
1 1
2 -1
3 4
4 0
5 5
6 -1
7 8
8 0
9 9
10 -1
11 12
12 0
13 13
14 -1
15 16
16 0
17 17
18 -1
19 20
20 0
21 21
22 -1
23 24
24 0
25 25
26 -1
27 28
28 0
29 29
30 -1
31 32
32 0
33 33
34 -1
35 36
36 0
37 37
38 -1
39 40
40 0
41 41
42 -1
43 44
44 0
45 45
46 -1
47 48
48 0
49 49
50 -1
51 52
52 0
53 53
54 -1
55 56
56 0
57 57
58 -1
59 60
60 0
61 61
62 -1
63 64
64 0
65 65
66 -1
67 68

List of values

[0, 1, -1, 4, 0, 5, -1, 8, 0, 9, -1, 12, 0, 13, -1, 16, 0, 17, -1, 20, 0, 21, -1, 24, 0, 25, -1, 28, 0, 29, -1, 32, 0, 33, -1, 36, 0, 37, -1, 40, 0, 41, -1, 44, 0, 45, -1, 48, 0, 49, -1, 52, 0, 53, -1, 56, 0, 57, -1, 60, 0, 61, -1, 64, 0, 65, -1, 68]