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.

A330556 a(n) = (number of primes p <= 2*n+1 with Delta(p) == 2 mod 4) - (number of primes p <= 2*n+1 with Delta(p) == 0 mod 4), where Delta(p) = nextprime(p) - p.

Table of values

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

List of values

[0, 1, 2, 1, 1, 2, 1, 1, 2, 1, 1, 2, 2, 2, 3, 4, 4, 4, 3, 3, 4, 3, 3, 4, 4, 4, 5, 5, 5, 6, 7, 7, 7, 6, 6, 7, 8, 8, 8, 7, 7, 8, 8, 8, 7, 7, 7, 7, 6, 6, 7, 6, 6, 7, 6, 6, 7, 7, 7, 7, 7, 7, 7, 6, 6, 7, 7, 7, 8, 9, 9, 9, 9, 9, 10, 11, 11, 11, 12, 12, 12, 11, 11, 12, 12, 12, 13, 13, 13]