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.

A288797 Square array a(p,q) = p^2 + q^2 - 2*p - 2*q + 2*gcd(p,q), p >= 1, q >= 1, read by antidiagonals.

Table of values

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

List of values

[0, 1, 1, 4, 4, 4, 9, 5, 5, 9, 16, 12, 12, 12, 16, 25, 17, 13, 13, 17, 25, 36, 28, 20, 24, 20, 28, 36, 49, 37, 33, 25, 25, 33, 37, 49, 64, 52, 40, 36, 40, 36, 40, 52, 64, 81, 65, 53, 45, 41, 41, 45, 53, 65, 81, 100, 84, 72, 64, 52, 60, 52, 64, 72, 84, 100]