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.

A368158 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.

Table of values

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

List of values

[2, 3, 1, 3, 6, 6, 2, 1, 4, 9, 11, 9, 4, 2, 1, 5, 12, 16, 16, 13, 6, 4, 2, 1, 6, 15, 21, 23, 22, 17, 9, 6, 4, 2, 1, 7, 18, 26, 30, 31, 28, 22, 12, 9, 6, 4, 2, 1, 8, 21, 31, 37, 40, 39, 35, 27, 16, 12, 9, 6, 4, 2, 1, 9, 24, 36, 44, 49, 50, 48, 42, 33, 20, 16]