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.

A178153 Difference between the numbers of quadratic residues (mod p) less than p/2 and greater than p/2, where p=prime(n).

Table of values

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

List of values

[1, 0, 1, 3, 0, 0, 3, 3, 0, 3, 0, 0, 3, 5, 0, 9, 0, 3, 7, 0, 5, 9, 0, 0, 0, 5, 9, 0, 0, 5, 15, 0, 9, 0, 7, 0, 3, 11, 0, 15, 0, 13, 0, 0, 9, 9, 7, 15, 0, 0, 15, 0, 21, 0, 13, 0, 11, 0, 0, 9, 0, 9, 19, 0, 0, 9, 0, 15, 0, 0, 19, 9, 0, 9, 17, 0, 0, 0, 0, 27, 0, 21, 0, 15, 15, 0, 0, 0, 7, 21, 25, 7, 27, 9, 21, 0]