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.

A331478 Irregular triangle T(n,k) = n - (s - k + 1)^2 for 1 <= k <= s, with s = floor(sqrt(n)).

Table of values

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

List of values

[0, 1, 2, 0, 3, 1, 4, 2, 5, 3, 6, 4, 7, 0, 5, 8, 1, 6, 9, 2, 7, 10, 3, 8, 11, 4, 9, 12, 5, 10, 13, 6, 11, 14, 0, 7, 12, 15, 1, 8, 13, 16, 2, 9, 14, 17, 3, 10, 15, 18, 4, 11, 16, 19, 5, 12, 17, 20, 6, 13, 18, 21, 7, 14, 19, 22, 8, 15, 20, 23, 0, 9, 16, 21, 24, 1]