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.

A096018 Number of Pythagorean quadruples mod n; i.e., number of solutions to w^2 + x^2 + y^2 = z^2 mod n.

Table of values

n a(n)
1 1
2 8
3 21
4 64
5 145
6 168
7 301
8 512
9 621
10 1160
11 1221
12 1344
13 2353
14 2408
15 3045
16 4096
17 5185
18 4968
19 6517
20 9280
21 6321
22 9768
23 11661
24 10752
25 18625
26 18824
27 16281
28 19264
29 25201
30 24360
31 28861
32 32768
33 25641
34 41480
35 43645
36 39744
37 51985
38 52136
39 49413
40 74240

List of values

[1, 8, 21, 64, 145, 168, 301, 512, 621, 1160, 1221, 1344, 2353, 2408, 3045, 4096, 5185, 4968, 6517, 9280, 6321, 9768, 11661, 10752, 18625, 18824, 16281, 19264, 25201, 24360, 28861, 32768, 25641, 41480, 43645, 39744, 51985, 52136, 49413, 74240]