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.

A331047 T(n,k) = -(-1)^k*ceiling(k/2)^2 mod p, where p is the n-th prime congruent to 2 or 3 mod 4; triangle T(n,k), n>=1, 0<=k<=p-1, read by rows.

Table of values

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

List of values

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