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.

A239146 Smallest k>0 such that n +/- k and n^2 +/- k are all prime. a(n) = 0 if no such number exists.

Table of values

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

List of values

[0, 0, 0, 0, 0, 0, 0, 3, 2, 3, 0, 5, 0, 3, 2, 0, 0, 13, 12, 0, 2, 0, 0, 0, 6, 15, 10, 0, 12, 0, 0, 15, 20, 0, 12, 5, 0, 15, 22, 21, 12, 0, 0, 0, 14, 27, 0, 35, 0, 0, 8, 15, 0, 0, 24, 27, 0, 0, 48, 7, 48, 0, 50, 3, 6, 7, 0, 0, 28, 0, 18, 0, 0, 27, 34]