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.

A354947 Number of primes adjacent to prime(n) in a hexagonal spiral of positive integers.

Table of values

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

List of values

[2, 2, 0, 2, 1, 1, 0, 2, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 1, 1, 1, 0, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 0, 1, 2, 0, 1, 0, 0, 0, 0, 0, 2, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 0, 0, 1, 0, 1, 0, 1, 1, 0]