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.

A305299 a(0) = 0, a(1) = 1, a(2) = 2; for n >= 2, a(2*n-1) = n - 2*a(n-1) - 1, a(2*n) = a(2*n-1) - a(n).

Table of values

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

List of values

[0, 1, 2, -1, -3, -2, -1, 5, 8, 10, 12, 9, 10, 8, 3, -3, -11, -8, -18, -11, -23, -14, -23, -7, -17, -8, -16, -3, -6, 8, 11, 21, 32, 38, 46, 33, 51, 54, 65, 41, 64, 66, 80, 49, 72, 68, 75, 37, 54, 58, 66, 41, 57, 58, 61, 33, 39, 40, 32, 13, 2, 8, -13, -11, -43, -32, -70, -43, -89, -58, -91, -31, -82, -66, -120, -71, -136, -92]