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.

A300154 Consider a spiral on an infinite hexagonal grid. a(n) is the number of cells in the part of the spiral from 1st to n-th cell that are on the same column or diagonal (in any of three directions) as the n-th cell along the spiral, including that cell itself.

Table of values

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

List of values

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