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.

A384446 Triangle read by rows: T(n, k) = |gcd(n, k) - k|.

Table of values

n a(n)
0 0
1 1
2 0
3 2
4 0
5 0
6 3
7 0
8 1
9 0
10 4
11 0
12 0
13 2
14 0
15 5
16 0
17 1
18 2
19 3
20 0
21 6
22 0
23 0
24 0
25 2
26 4
27 0
28 7
29 0
30 1
31 2
32 3
33 4
34 5
35 0
36 8
37 0
38 0
39 2
40 0
41 4
42 4
43 6
44 0
45 9
46 0
47 1
48 0
49 3
50 4
51 3
52 6
53 7
54 0
55 10
56 0
57 0
58 2
59 2
60 0
61 4
62 6
63 6
64 8
65 0
66 11
67 0
68 1
69 2
70 3
71 4
72 5
73 6
74 7
75 8
76 9
77 0
78 12
79 0
80 0
81 0
82 0
83 4
84 0
85 6
86 4
87 6
88 8
89 10
90 0

List of values

[0, 1, 0, 2, 0, 0, 3, 0, 1, 0, 4, 0, 0, 2, 0, 5, 0, 1, 2, 3, 0, 6, 0, 0, 0, 2, 4, 0, 7, 0, 1, 2, 3, 4, 5, 0, 8, 0, 0, 2, 0, 4, 4, 6, 0, 9, 0, 1, 0, 3, 4, 3, 6, 7, 0, 10, 0, 0, 2, 2, 0, 4, 6, 6, 8, 0, 11, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 12, 0, 0, 0, 0, 4, 0, 6, 4, 6, 8, 10, 0]