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.

A334751 a(n) is the number immediately above n in a clockwise square spiral of the positive integers with the first step to the right.

Table of values

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

List of values

[8, 9, 2, 1, 6, 7, 22, 23, 24, 25, 10, 11, 12, 3, 4, 5, 18, 19, 20, 21, 44, 45, 46, 47, 48, 49, 26, 27, 28, 29, 30, 13, 14, 15, 16, 17, 38, 39, 40, 41, 42, 43, 74, 75, 76, 77, 78, 79, 80, 81, 50, 51, 52, 53, 54, 55, 56, 31, 32, 33, 34, 35, 36, 37, 66, 67, 68, 69]