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.

A309038 Irregular triangle T read by rows: given a square made of n^2 squares of unit area, T(n, k) is the longest perimeter that can be obtained by removing k of n^2 squares such that the modified figure remains connected and without holes (n >= 0 and 0 <= k <= n^2).

Table of values

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

List of values

[0, 4, 0, 8, 8, 8, 4, 0, 12, 14, 16, 18, 20, 16, 12, 8, 4, 0, 16, 18, 20, 22, 24, 26, 28, 28, 28, 26, 24, 20, 16, 12, 8, 4, 0, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 42, 40, 38, 36, 32, 28, 24, 20, 16, 12, 8, 4, 0, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 56, 56, 56, 56, 56, 56, 52, 48, 44, 40, 36, 32, 28, 24, 20, 16, 12, 8, 4, 0]