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.

A257230 Floor(sqrt(q)-(q-p)), where p and q are consecutive primes.

Table of values

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

List of values

[0, 0, 0, -1, 1, 0, 2, 0, -1, 3, 0, 2, 4, 2, 1, 1, 5, 2, 4, 6, 2, 5, 3, 1, 6, 8, 6, 8, 6, -3, 7, 5, 9, 2, 10, 6, 6, 8, 7, 7, 11, 3, 11, 10, 12, 2, 2, 11, 13, 11, 9, 13, 5, 10, 10, 10, 14, 10, 12, 14, 7, 3, 13, 15, 13, 4, 12, 8, 16, 14, 12, 11, 13, 13, 15, 13, 11, 16, 12, 10, 18]