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.

A239612 a(n) = Sum_{0 < x,y,z <= n and gcd(x^2 + y^2 + z^2, n)=1} gcd(x^2 + y^2 + z^2 - 1, n).

Table of values

n a(n)
1 1
2 8
3 30
4 112
5 220
6 240
7 546
8 1280
9 1134
10 1760
11 2310
12 3360
13 4212
14 4368
15 6600
16 13312
17 9520
18 9072
19 12654
20 24640
21 16380
22 18480
23 22770
24 38400
25 42500
26 33696
27 39366
28 61152
29 47908
30 52800
31 56730
32 131072
33 69300
34 76160
35 120120
36 127008
37 99900
38 101232
39 126360
40 281600

List of values

[1, 8, 30, 112, 220, 240, 546, 1280, 1134, 1760, 2310, 3360, 4212, 4368, 6600, 13312, 9520, 9072, 12654, 24640, 16380, 18480, 22770, 38400, 42500, 33696, 39366, 61152, 47908, 52800, 56730, 131072, 69300, 76160, 120120, 127008, 99900, 101232, 126360, 281600]