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.

A058043 a(n) = nextprime(n^2) - prevprime(n^2).

Table of values

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

List of values

[2, 4, 4, 6, 6, 6, 6, 4, 4, 14, 10, 6, 4, 4, 6, 10, 14, 8, 4, 4, 8, 18, 6, 12, 4, 6, 14, 14, 20, 14, 10, 4, 10, 6, 6, 6, 8, 12, 4, 24, 18, 14, 16, 10, 16, 6, 12, 12, 26, 16, 8, 16, 8, 14, 16, 22, 10, 22, 14, 8, 14, 22, 6, 10, 8, 10, 16, 24, 14, 12, 10, 10, 6, 16, 30, 12, 10, 18, 24, 10]