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.

A345011 Lexicographically earliest sequence of nonnegative terms forming a clockwise square spiral when nothing else is read except the nonprime/prime nature of the terms (see the Comments section).

Table of values

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

List of values

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