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.

A373748 Triangle read by rows: T(n, k) is k if k is a quadratic residue modulo n, otherwise is -k and is a quadratic nonresidue modulo n. T(0, 0) = 0 by convention.

Table of values

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

List of values

[0, 0, 1, 0, 1, 2, 0, 1, -2, 3, 0, 1, -2, -3, 4, 0, 1, -2, -3, 4, 5, 0, 1, -2, 3, 4, -5, 6, 0, 1, 2, -3, 4, -5, -6, 7, 0, 1, -2, -3, 4, -5, -6, -7, 8, 0, 1, -2, -3, 4, -5, -6, 7, -8, 9, 0, 1, -2, -3, 4, 5, 6, -7, -8, 9, 10, 0, 1, -2, 3, 4, 5, -6, -7, -8, 9, -10, 11, 0, 1, -2, -3, 4, -5, -6, -7, -8, 9, -10, -11, 12]