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.

A131730 a(4n) = n, a(4n+1) = -n-1, a(4n+2) = n+1, a(4n+3) = -n.

Table of values

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

List of values

[0, -1, 1, 0, 1, -2, 2, -1, 2, -3, 3, -2, 3, -4, 4, -3, 4, -5, 5, -4, 5, -6, 6, -5, 6, -7, 7, -6, 7, -8, 8, -7, 8, -9, 9, -8, 9, -10, 10, -9, 10, -11, 11, -10, 11, -12, 12, -11, 12, -13, 13, -12, 13, -14, 14, -13, 14, -15, 15, -14, 15, -16, 16, -15, 16, -17, 17, -16, 17, -18, 18, -17, 18, -19, 19, -18, 19, -20, 20, -19, 20, -21, 21, -20]