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.

A345436 Represent the ring of Gaussian integers E = {x+y*i: x, y rational integers, i = sqrt(-1)} by the cells of a square grid; number the cells of the grid along a counterclockwise square spiral, with the cells representing the ring identities 0, 1 numbered 0, 1. Sequence lists the index numbers of the cells which are 0 or a prime in E.

Table of values

n a(n)
1 0
2 2
3 4
4 6
5 8
6 9
7 11
8 13
9 15
10 17
11 19
12 21
13 23
14 25
15 27
16 29
17 31
18 33
19 35
20 37
21 39
22 41
23 43
24 45
25 47
26 51
27 53
28 59
29 61
30 67
31 69
32 75
33 77
34 81
35 83
36 87
37 89
38 91
39 93
40 97
41 99
42 101
43 103
44 107
45 109
46 111
47 113
48 117
49 119
50 121
51 125
52 127
53 131
54 133
55 137
56 139
57 143
58 145
59 149
60 151
61 155
62 157

List of values

[0, 2, 4, 6, 8, 9, 11, 13, 15, 17, 19, 21, 23, 25, 27, 29, 31, 33, 35, 37, 39, 41, 43, 45, 47, 51, 53, 59, 61, 67, 69, 75, 77, 81, 83, 87, 89, 91, 93, 97, 99, 101, 103, 107, 109, 111, 113, 117, 119, 121, 125, 127, 131, 133, 137, 139, 143, 145, 149, 151, 155, 157]