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.

A101336 Alternating addition and subtraction of the residues of the primes less than the number.

Table of values

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

List of values

[0, 0, 0, 1, -1, -1, 1, 2, 0, 3, -4, -4, -2, -1, 4, 2, 0, 0, 2, 3, -4, 6, -7, -7, -5, -9, 3, 7, 13, 14, 10, 10, 9, 2, -16, -13, -11, -10, 7, 23, 16, 16, 25, 26, 13, 11, -14, -14, -12, -4, -10, -23, -11, -10, -9, -25, -20, 2, 29, 29, 26, 27, -6, 4, 2, 10, 0, 0, -18, -37, -36, -35, -34, -34, 2, 1, 19, 16, 31, 32, 25, 28, -15, -15, -6, -27, 15]