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.

A317612 For k >= 1, fill a k X k square with the numbers 1 to k^2 by rows left to right and top to bottom; then read the square by a square clockwise spiral beginning at the top left and spiraling inwards.

Table of values

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

List of values

[1, 1, 2, 4, 3, 1, 2, 3, 6, 9, 8, 7, 4, 5, 1, 2, 3, 4, 8, 12, 16, 15, 14, 13, 9, 5, 6, 7, 11, 10, 1, 2, 3, 4, 5, 10, 15, 20, 25, 24, 23, 22, 21, 16, 11, 6, 7, 8, 9, 14, 19, 18, 17, 12, 13, 1, 2, 3, 4, 5, 6, 12, 18, 24, 30, 36, 35, 34, 33, 32, 31, 25, 19, 13, 7, 8, 9, 10, 11, 17, 23, 29, 28, 27, 26, 20, 14, 15, 16, 22, 21, 1, 2, 3, 4, 5, 6, 7, 14, 21, 28, 35, 42, 49, 48, 47, 46, 45, 44, 43]