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.

A226246 Triangle T(n, k), read by rows 1<=n, 1<=k<=n: Number of cells touched by a unit-width diagonal in a regular n X k grid.

Table of values

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

List of values

[1, 2, 4, 3, 6, 7, 4, 8, 10, 10, 5, 8, 11, 14, 13, 6, 10, 14, 14, 16, 16, 7, 12, 13, 16, 19, 20, 19, 8, 14, 16, 20, 20, 22, 24, 22, 9, 14, 17, 18, 21, 22, 25, 28, 25, 10, 16, 20, 20, 26, 24, 28, 30, 30, 28, 11, 18, 21, 22, 25, 26, 29, 30, 33, 34, 31]