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.

A337822 Permutation of the natural numbers formed by numbering an infinite square grid by a counterclockwise diamond spiral and visiting them by a counterclockwise stair step spiral.

Table of values

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

List of values

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