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.

A368197 Triangle read by rows: T(n,k) = Sum_{z=1..n} Sum_{y=1..n} Sum_{x=1..n} [GCD(f(x,y,z), n) = k], where f(x,y,z) = x^2 + y^2 - z^2.

Table of values

n a(n)
1 1
2 4
3 4
4 18
5 0
6 9
7 32
8 8
9 0
10 24
11 100
12 0
13 0
14 0
15 25
16 72
17 72
18 36
19 0
20 0
21 36
22 294
23 0
24 0
25 0
26 0
27 0
28 49
29 256
30 64
31 0
32 96
33 0
34 0
35 0
36 96
37 486
38 0
39 144
40 0
41 0
42 0
43 0
44 0
45 99
46 400
47 400
48 0
49 0
50 100
51 0
52 0
53 0
54 0
55 100
56 1210
57 0
58 0
59 0
60 0
61 0
62 0
63 0
64 0
65 0
66 121

List of values

[1, 4, 4, 18, 0, 9, 32, 8, 0, 24, 100, 0, 0, 0, 25, 72, 72, 36, 0, 0, 36, 294, 0, 0, 0, 0, 0, 49, 256, 64, 0, 96, 0, 0, 0, 96, 486, 0, 144, 0, 0, 0, 0, 0, 99, 400, 400, 0, 0, 100, 0, 0, 0, 0, 100, 1210, 0, 0, 0, 0, 0, 0, 0, 0, 0, 121]