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.

A331996 Number of Pythagorean triples mod n: total number of solutions (x,y,z) to x^2 + y^2 = z^2 mod n with x <= y.

Table of values

n a(n)
1 1
2 3
3 5
4 14
5 13
6 19
7 31
8 52
9 54
10 51
11 61
12 110
13 85
14 111
15 113
16 232
17 161
18 207
19 181
20 302
21 227
22 243
23 287
24 436
25 375
26 339
27 450
28 614
29 421
30 451
31 511
32 912
33 545
34 611
35 619
36 1206
37 685
38 723
39 761
40 1204
41 881
42 895
43 925
44 1454
45 1242
46 1103
47 1151
48 2024
49 1414
50 1475
51 1317
52 2030
53 1405

List of values

[1, 3, 5, 14, 13, 19, 31, 52, 54, 51, 61, 110, 85, 111, 113, 232, 161, 207, 181, 302, 227, 243, 287, 436, 375, 339, 450, 614, 421, 451, 511, 912, 545, 611, 619, 1206, 685, 723, 761, 1204, 881, 895, 925, 1454, 1242, 1103, 1151, 2024, 1414, 1475, 1317, 2030, 1405]