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.

A368516 Irregular triangular array T, read by rows: T(n,k) = number of sums |x-y|+|y-z| = k, where x,y,z are in {1,2,...,n} and x != y and y != z.

Table of values

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

List of values

[2, 6, 4, 2, 10, 12, 8, 4, 2, 14, 20, 20, 12, 8, 4, 2, 18, 28, 32, 28, 18, 12, 8, 4, 2, 22, 36, 44, 44, 38, 24, 18, 12, 8, 4, 2, 26, 44, 56, 60, 58, 48, 32, 24, 18, 12, 8, 4, 2, 30, 52, 68, 76, 78, 72, 60, 40, 32, 24, 18, 12, 8, 4, 2, 34, 60, 80, 92, 98, 96]