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.

A047972 Distance of n-th prime to nearest square.

Table of values

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

List of values

[1, 1, 1, 2, 2, 3, 1, 3, 2, 4, 5, 1, 5, 6, 2, 4, 5, 3, 3, 7, 8, 2, 2, 8, 3, 1, 3, 7, 9, 8, 6, 10, 7, 5, 5, 7, 12, 6, 2, 4, 10, 12, 5, 3, 1, 3, 14, 2, 2, 4, 8, 14, 15, 5, 1, 7, 13, 15, 12, 8, 6, 4, 17, 13, 11, 7, 7, 13, 14, 12, 8, 2, 6, 12, 18, 17, 11, 3, 1, 9, 19, 20, 10, 8, 2, 2, 8, 16, 20, 21]