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.

A060511 Hexagonal excess: smallest amount by which n exceeds a hexagonal number (2k^2-k, A000384).

Table of values

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

List of values

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