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.

A218850 a(n) is the least r > 1 for which the interval (r*(2*n-1), r*(2*n+1)) contains no prime, or 0 if no such r exists.

Table of values

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

List of values

[0, 0, 0, 0, 0, 0, 0, 0, 0, 6, 0, 5, 0, 2, 4, 2, 0, 4, 2, 3, 0, 0, 2, 3, 6, 0, 4, 0, 2, 2, 2, 0, 0, 3, 0, 2, 0, 7, 0, 2, 3, 16, 0, 2, 0, 2, 2, 3, 0, 3, 2, 2, 5, 2, 2, 8, 3, 0, 2, 0, 2, 2, 0, 7, 2, 4, 4, 0, 3, 0]