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.

A332767 The squares visited on the 2D square (Ulam) spiral when starting at square 1 and then stepping to the closest unvisited square which contains a composite number. If two or more squares are the same distance from the current square then the one with the smallest composite number is chosen.

Table of values

n a(n)
1 1
2 4
3 15
4 14
5 33
6 32
7 30
8 55
9 54
10 87
11 86
12 85
13 52
14 27
15 10
16 9
17 8
18 6
19 18
20 39
21 38
22 36
23 35
24 16
25 34
26 60
27 95
28 94
29 93
30 58
31 57
32 56
33 88
34 129
35 128
36 177
37 176
38 175
39 126
40 125
41 84
42 51
43 26
44 25
45 24
46 46
47 45
48 22
49 21
50 20
51 40
52 69

List of values

[1, 4, 15, 14, 33, 32, 30, 55, 54, 87, 86, 85, 52, 27, 10, 9, 8, 6, 18, 39, 38, 36, 35, 16, 34, 60, 95, 94, 93, 58, 57, 56, 88, 129, 128, 177, 176, 175, 126, 125, 84, 51, 26, 25, 24, 46, 45, 22, 21, 20, 40, 69]