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.

A136679 a(n) is the number of ordered solutions (x,y,z) to x^2 + y^2 == z^2 mod n with 1 <= x,y,z <= n-1.

Table of values

n a(n)
1 0
2 0
3 0
4 9
5 0
6 16
7 24
8 45
9 56
10 48
11 80
12 137
13 96
14 144
15 128
16 315
17 192
18 302
19 288
20 425
21 312
22 400
23 440
24 621
25 544
26 528
27 728
28 969
29 672
30 704
31 840
32 1451
33 880
34 960
35 984
36 2021
37 1152
38 1296
39 1248
40 1901
41 1440
42 1504
43 1680
44 2569
45 2024
46 1936
47 2024
48 3387
49 2400
50 2524
51 2240
52 3561

List of values

[0, 0, 0, 9, 0, 16, 24, 45, 56, 48, 80, 137, 96, 144, 128, 315, 192, 302, 288, 425, 312, 400, 440, 621, 544, 528, 728, 969, 672, 704, 840, 1451, 880, 960, 984, 2021, 1152, 1296, 1248, 1901, 1440, 1504, 1680, 2569, 2024, 1936, 2024, 3387, 2400, 2524, 2240, 3561]